erratic-gate/.github/workflows/deploy.yaml
Matei Adriel d090a37560
Update CI
2023-10-29 05:46:53 +01:00

25 lines
493 B
YAML

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