-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathTaskfile.yml
More file actions
34 lines (29 loc) · 774 Bytes
/
Taskfile.yml
File metadata and controls
34 lines (29 loc) · 774 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
27
28
29
30
31
32
33
34
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."
build:
desc: Build Solus website, including CSS
cmds:
- npm run build
dev:
deps:
- build
desc: Start development server for Solus website
cmds:
- npm run dev
# 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