ci: allow to run docs build on demand

This commit is contained in:
FrenchGithubUser
2025-12-09 20:01:47 +01:00
parent e2a421294b
commit 4210ac0058

View File

@@ -1,17 +1,18 @@
name: Deploy
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'docs/**'
- "docs/**"
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pages: write # To push to a GitHub Pages site
contents: write # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status
steps:
- uses: actions/checkout@v4
@@ -34,7 +35,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'docs/book'
path: "docs/book"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4