Skip to content

Commit 39a2868

Browse files
committed
Publish resume to github pages
1 parent 4341f0e commit 39a2868

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,15 @@ jobs:
5959
asset_path: ${{ env.RESUME_TARGET }}
6060
asset_name: ${{ env.RESUME_NAME }}
6161
asset_content_type: application/pdf
62+
63+
- name: Prepare GitHub Pages deployment
64+
run: |
65+
mkdir gh-pages
66+
cp release/resume.html gh-pages/index.html
67+
cp release/resume.pdf gh-pages/
68+
69+
- name: Deploy to GitHub Pages
70+
uses: peaceiris/actions-gh-pages@v3
71+
with:
72+
github_token: ${{ secrets.GITHUB_TOKEN }}
73+
publish_dir: gh-pages

0 commit comments

Comments
 (0)