Skip to content

Deploy

Deploy #5

Workflow file for this run

name: Deploy to GitHub Pages
on:
workflow_run:
workflows: ["Build"]
branches: [main]
types:
- completed
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download build artifact
uses: actions/download-artifact@v3
with:
name: build
- name: Download resume artifact
uses: actions/download-artifact@v3
with:
name: resumes
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
path: dist/