mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-07-15 05:47:03 -06:00
Bumps the all group with 2 updates in the / directory: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-go](https://github.com/actions/setup-go). Updates `actions/checkout` from 6.0.3 to 7.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](df4cb1c069...9c091bb21b) Updates `actions/setup-go` from 6.4.0 to 6.5.0 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](4a3601121d...924ae3a1cd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: all - dependency-name: actions/setup-go dependency-version: 6.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com>
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: docs
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
publish-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
-
|
|
name: Checkout ntfy code
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
-
|
|
name: Checkout docs pages code
|
|
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
repository: binwiederhier/ntfy-docs.github.io
|
|
path: build/ntfy-docs.github.io
|
|
token: ${{secrets.NTFY_DOCS_PUSH_TOKEN}}
|
|
# Expires after 1 year, re-generate via
|
|
# User -> Settings -> Developer options -> Personal Access Tokens -> Fine Grained Token
|
|
-
|
|
name: Build docs
|
|
run: make docs
|
|
-
|
|
name: Copy generated docs
|
|
run: rsync -av --exclude CNAME --delete server/docs/ build/ntfy-docs.github.io/docs/
|
|
-
|
|
name: Publish docs
|
|
run: |
|
|
cd build/ntfy-docs.github.io
|
|
git config user.name "GitHub Actions Bot"
|
|
git config user.email "<actions@github.com>"
|
|
git add docs/
|
|
git commit -m "Updated docs"
|
|
git push origin main
|