From 39a286853192fe1fc2199c035e5f1cfb88026779 Mon Sep 17 00:00:00 2001 From: G0V1NDS Date: Wed, 24 Jul 2024 19:49:36 +0530 Subject: [PATCH] Publish resume to github pages --- .github/workflows/release.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4f408d4..950945d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,3 +59,15 @@ jobs: asset_path: ${{ env.RESUME_TARGET }} asset_name: ${{ env.RESUME_NAME }} asset_content_type: application/pdf + + - name: Prepare GitHub Pages deployment + run: | + mkdir gh-pages + cp release/resume.html gh-pages/index.html + cp release/resume.pdf gh-pages/ + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: gh-pages