utxo-prague/.github/workflows/docs-update.yml

32 řádky
743 B
YAML
Surový Normální zobrazení Historie

2022-01-01 07:13:23 +01:00
name: Update Documentation
2022-01-01 06:09:06 +01:00
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
repository: gweicz/utxo22-docs
ref: master
path: docs
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
2022-01-01 06:50:03 +01:00
- run: deno run --allow-read --allow-write scripts/update-docs.js
2022-01-01 07:15:47 +01:00
- uses: stefanzweifel/git-auto-commit-action@v4.12.0
2022-01-01 06:45:53 +01:00
with:
2022-01-01 07:15:47 +01:00
repository: ./docs
2022-01-01 06:45:53 +01:00
commit_message: Specs update
branch: master
env:
2022-01-01 07:21:44 +01:00
GITHUB_TOKEN: ${{ secrets.TOKEN_DOCS }}
2022-01-01 06:09:06 +01:00