forked from getsolus/solus-site.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTaskfile.yml
More file actions
26 lines (23 loc) · 711 Bytes
/
Taskfile.yml
File metadata and controls
26 lines (23 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
version: "3"
set: [pipefail]
tasks:
# Ensure people new to go-task and used to 'make help' have an easier time
help:
desc: Show how to list available tasks
cmds:
- |
echo "Use 'go-task -l/--list' to list available tasks."
# Merge "main" into "deploy" branch for GitHub pages deployment
deploy:
desc: Merge the "master" branch into "deploy" to start GitHub Pages build
cmds:
- git switch main
- git pull origin main
- git switch deploy
- git merge main
- git push origin deploy
- git switch main
local:
desc: Start a webserver to test the website locally
cmds:
- 'hugo server --watch --disableFastRender --ignoreCache'