taskchampion: update docs

- 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
This commit is contained in:
ryneeverett 2023-01-11 13:32:30 -05:00 committed by Dustin J. Mitchell
parent c2c803582a
commit 5c4fb01abf
9 changed files with 16 additions and 110 deletions

View file

@ -3,7 +3,7 @@ name: checks
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, reopened, synchronize]

View file

@ -3,7 +3,10 @@ name: docs
on:
push:
branches:
- main
- develop
permissions:
contents: write
jobs:
mdbook-deploy:
@ -18,10 +21,11 @@ jobs:
# 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 docs
- run: mdbook build taskchampion/docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
publish_dir: ./taskchampion/docs/book
destination_dir: taskchampion

View file

@ -6,7 +6,7 @@ name: tests - rust
on:
push:
branches:
- main
- develop
pull_request:
types: [opened, reopened, synchronize]