1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00
task/docs/Taskfile.yml

28 lines
485 B
YAML
Raw Normal View History

2019-07-07 19:18:02 +02:00
version: '3'
tasks:
setup:
desc: Setup Docusaurus locally
cmds:
- yarn install
start:
desc: Start website
cmds:
- npx docusaurus start --no-open --port=3001
2020-12-27 23:55:55 +02:00
build:
desc: Build website
2020-12-27 23:55:55 +02:00
cmds:
- npx docusaurus build
clean:
desc: Clean temp directories
cmds:
- rm -rf ./build
deploy:
desc: Build and deploy Docusaurus. Requires GIT_USER and GIT_PASS envs to be previous set
cmds:
- npx docusaurus deploy