mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00

- update CI branch filters so workflows actually run on merge - update CI docs deployment target - update links - fix typos - remove references to `ta` cli which was removed - remove build-docs.sh script which duplicates publish-docs.yml workflow
31 lines
671 B
YAML
31 lines
671 B
YAML
name: docs
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
mdbook-deploy:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Setup mdBook
|
|
uses: peaceiris/actions-mdbook@v1
|
|
with:
|
|
# if this changes, change it in cli/Cargo.toml and .github/workflows/publish-docs.yml as well
|
|
mdbook-version: '0.4.10'
|
|
|
|
- run: mdbook build taskchampion/docs
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./taskchampion/docs/book
|
|
destination_dir: taskchampion
|