Skip to content

Site: Deploy

Site: Deploy #385

Workflow file for this run

name: 'Site: Deploy'
on:
push:
branches:
- main
schedule:
# Run at 41 minutes past every 3rd hour
- cron: 41 */3 * * *
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
generate:
uses: ./.github/workflows/site-generate.yml
deploy:
needs: generate
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4