Skip to content

Deploy Jekyll Site

Deploy Jekyll Site #4

Workflow file for this run

name: Deploy Jekyll Site to Pages
on:
workflow_run:
workflows: ["Build Jekyll Site"]
types: ["completed"]
branches: ["main"]
permissions:
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
# Run only if the triggering workflow (build) was successful
if: github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Download GitHub Pages Artifact
uses: actions/download-artifact@v4
with:
name: github-pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4