mirror of
https://github.com/go-task/task.git
synced 2024-12-12 10:45:49 +02:00
docs/Taskfile.yml: Allow to change server port
This commit is contained in:
parent
936045e01c
commit
b00ae9256b
@ -8,8 +8,10 @@ tasks:
|
||||
|
||||
start:
|
||||
desc: Start website
|
||||
vars:
|
||||
PORT: '{{default "3001" .PORT}}'
|
||||
cmds:
|
||||
- npx docusaurus start --no-open --port=3001
|
||||
- npx docusaurus start --no-open --port={{.PORT}}
|
||||
|
||||
build:
|
||||
desc: Build website
|
||||
|
Loading…
Reference in New Issue
Block a user