aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8f3ce84..680f520 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -22,7 +22,7 @@ jobs:
name: Egor_Tensin_CV_en
path: cv/cv.pdf
- name: Clean up auxiliary files
- run: sudo find cv/ '!' -name cv.pdf -type f -delete
+ run: sudo make clean
- name: PDF to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
diff --git a/Makefile b/Makefile
index ea5d69e..8fa8373 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,8 @@ $(pdf): $(name).tex img/selfie_face.jpg | $(name)/
.PHONY: clean
clean:
+ find $(name) '!' -name cv.pdf -type f -delete
.PHONY: clean-all
-clean-all: clean
+clean-all:
$(RMDIR) $(name)/