mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-08-11 03:16:04 +00:00
only (re-)build github pages documentation when a new release is published
see #872
This commit is contained in:
parent
1a2da6c79b
commit
5cc379fde0
7
.github/workflows/deploy-pages.yml
vendored
7
.github/workflows/deploy-pages.yml
vendored
@ -1,7 +1,9 @@
|
||||
name: Deploy API Docs to GitHub Pages
|
||||
|
||||
on:
|
||||
push:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -24,8 +26,7 @@ jobs:
|
||||
|
||||
- name: Build static documentation bundle
|
||||
run: |
|
||||
VERSION=$(git describe --tags --always)
|
||||
src/docs/build-static-bundle.sh site "$VERSION"
|
||||
src/docs/build-static-bundle.sh site "${{ github.event.release.tag_name }}"
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user