Skip to content

Deploy docs on demand #1

Deploy docs on demand

Deploy docs on demand #1

Workflow file for this run

name: "Deploy docs on demand"
on: workflow_dispatch
jobs:
deploy-docs:
name: Deploy documentation 📄 to Github Pages 🌐
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
repository: 'kraina-ai/quackosm-docs'
ref: 'gh-pages'
token: ${{ secrets.CICD_PAT_TOKEN }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4