mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
c2c803582a
commit
5c4fb01abf
9 changed files with 16 additions and 110 deletions
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
|
@ -3,7 +3,7 @@ name: checks
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
|
|
10
.github/workflows/publish-docs.yml
vendored
10
.github/workflows/publish-docs.yml
vendored
|
@ -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
|
||||
|
|
2
.github/workflows/rust-tests.yml
vendored
2
.github/workflows/rust-tests.yml
vendored
|
@ -6,7 +6,7 @@ name: tests - rust
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- develop
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue