erratic-gate/.github/workflows/deploy.yaml

25 lines
493 B
YAML
Raw Normal View History

2023-10-29 05:46:53 +01:00
# Inspired by https://github.com/actions/starter-workflows/blob/main/pages/mdbook.yml
name: Deploy
2023-10-29 03:14:12 +01:00
on:
push:
2023-10-29 05:46:53 +01:00
branches: [$default-branch]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
2023-10-29 03:14:12 +01:00
jobs:
2023-10-29 05:46:53 +01:00
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
2023-10-29 03:14:12 +01:00
runs-on: ubuntu-latest
2023-10-29 05:46:53 +01:00
needs: build
2023-10-29 03:14:12 +01:00
steps:
2023-10-29 05:46:53 +01:00
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2