mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-07-26 00:39:27 +00:00
38 lines
751 B
YAML
38 lines
751 B
YAML
name: Deploy API Docs to GitHub Pages
|
|
|
|
on:
|
|
push:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
build-and-deploy:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Pages
|
|
uses: actions/configure-pages@v6
|
|
|
|
- name: Build static documentation bundle
|
|
run: |
|
|
VERSION=$(git describe --tags --always)
|
|
src/docs/build-static-bundle.sh site "$VERSION"
|
|
|
|
- name: Upload Pages artifact
|
|
uses: actions/upload-pages-artifact@v5
|
|
with:
|
|
path: site
|
|
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v5
|