Skip to content

Commit

Permalink
Upload the resume artifacts to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo1003 committed Oct 17, 2023
1 parent 195fad7 commit 0992baa
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,28 @@ jobs:
name: Resume-PNG
path: '*.png'
if-no-files-found: error
upload:
runs-on: ubuntu-latest
needs:
- render
if: "github.ref == refs/heads/main"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
steps:
- name: Download all workflow run artifacts
uses: actions/download-artifact@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 0992baa

Please sign in to comment.