-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yml
More file actions
49 lines (42 loc) · 855 Bytes
/
Taskfile.yml
File metadata and controls
49 lines (42 loc) · 855 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: CC-BY-4.0
version: "3"
env:
GEM_HOME: ./.bundle
tasks:
default:
cmds:
- task -l
##
## Website
##
build:
desc: Build content website
deps:
- deps
cmds:
- bundle exec jekyll build
run:
desc: Run content website in live editing mode
deps:
- deps
cmds:
- bundle exec jekyll serve --livereload --host 0.0.0.0
run:prod:
desc: Run content website in production mode (enables analytics)
deps:
- deps
cmds:
- JEKYLL_ENV=production bundle exec jekyll serve --livereload --host 0.0.0.0
##
## Dependencies
##
deps:
desc: Install dependencies
sources:
- Gemfile
- Gemfile.lock
generates:
- .bundle/config
cmds:
- bundle install