mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
add an mdbook
This commit is contained in:
parent
1e28289b8b
commit
ae8872d51e
6 changed files with 40 additions and 0 deletions
|
@ -44,3 +44,30 @@ tasks:
|
|||
description: Run tests for taskchampion
|
||||
owner: dustin@v.igoro.us
|
||||
source: ${repo_url}
|
||||
- $if: run
|
||||
then:
|
||||
provisionerId: 'proj-misc'
|
||||
workerType: 'ci'
|
||||
deadline: {$fromNow: '1 hour'}
|
||||
expires: {$fromNow: '1 day'}
|
||||
payload:
|
||||
maxRunTime: 3600
|
||||
image: rust:latest
|
||||
command:
|
||||
- /bin/bash
|
||||
- '-c'
|
||||
- >-
|
||||
git clone ${repo_url} repo &&
|
||||
cd repo &&
|
||||
git config advice.detachedHead false &&
|
||||
git checkout ${ref} &&
|
||||
cd docs &&
|
||||
curl -L --compressed https://github.com/rust-lang/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | gunzip -c | tar -xf - &&
|
||||
chmod +x mdbook &&
|
||||
./mdbook test &&
|
||||
./mdbook build
|
||||
metadata:
|
||||
name: taskchampion-book
|
||||
description: Verify that the docs build with mdbook
|
||||
owner: dustin@v.igoro.us
|
||||
source: ${repo_url}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue