Skip to content

Commit

Permalink
latest deploy strat
Browse files Browse the repository at this point in the history
  • Loading branch information
thomascrha committed Sep 15, 2023
1 parent ee824ab commit 334a8b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: |
make convert
- name: Upload artifact
- name: Create Page Artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./html/
path: html

- name: Deploy to GitHub Pages
id: deployment
Expand Down
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ convert-to-docx: install-deps

convert-to-html: convert-to-docx
@echo "Converting to HTML..."
pandoc resume.md -f markdown -t html -c resume-$(RELEASE_VERSION).css -s -o output/resume-$(RELEASE_VERSION).html
pandoc resume.md --embed-resources --standalone -f markdown -t html -c resume-$(RELEASE_VERSION).css -s -o output/resume-$(RELEASE_VERSION).html
mkdir -p html
cp resume.css html/resume-$(RELEASE_VERSION).css
cp output/resume-$(RELEASE_VERSION).md html/index.html
cp output/resume-$(RELEASE_VERSION).html html/index.html
.PHONY: convert-to-html

convert: convert-to-html
Expand Down

0 comments on commit 334a8b4

Please sign in to comment.