Skip to content

v2.2.0 / v2.0.20

v2.2.0 / v2.0.20 #230

Workflow file for this run

name: Deploy to GitHub Pages
on:
# Trigger the workflow every time you push to the `main` or `master` branch
# but only if changes occur in the docs/ folder.
push:
branches: [master, main]
paths:
- 'docs/**'
- 'changelog.md'
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:
# Allow this job to clone the repo and create a page deployment
jobs:
build:
runs-on: ubuntu-24.04-arm
permissions:
contents: read
steps:
- name: Checkout your repository using git
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install, build, and upload your site
uses: withastro/action@v4
with:
path: ./docs
deploy:
needs: build
runs-on: ubuntu-24.04-arm
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4