diff options
-rw-r--r-- | .github/workflows/build.yml | 2 | ||||
-rw-r--r-- | Makefile | 3 |
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: @@ -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)/ |