File tree 5 files changed +70
-0
lines changed
5 files changed +70
-0
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+ jobs :
3
+ pages :
4
+ runs-on : ubuntu-latest
5
+ steps :
6
+ - name : clone
7
+ uses : actions/checkout@v2
8
+ - name : build
9
+ run : |
10
+ sudo apt install hugo
11
+ hugo
12
+ - name : deploy
13
+ uses : crazy-max/ghaction-github-pages@v2
14
+ with :
15
+ author :
Kevin Amado <[email protected] >
16
+ committer :
Kevin Amado <[email protected] >
17
+ commit_message : " feat(doc): build and release website"
18
+
19
+ build_dir : docs
20
+ fqdn : on-nix.com
21
+ keep_history : false
22
+ target_branch : release
23
+ verbose : true
24
+ env :
25
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ baseUrl : http://localhost:8000
2
+ languageCode : en-us
3
+ markup :
4
+ highlight :
5
+ lineNos : true
6
+ lineNumbersInTable : true
7
+ style : vs
8
+ module :
9
+ imports :
10
+ - path : /data/github/on-nix/theme
11
+ publishDir : docs
Original file line number Diff line number Diff line change
1
+ baseUrl : https://on-nix.com
2
+ module :
3
+ imports :
4
+ - path : github.com/on-nix/theme
Original file line number Diff line number Diff line change
1
+ module github.com/on-nix/on-nix.com
2
+
3
+ go 1.16
4
+
5
+ require github.com/on-nix/theme v0.0.0-20211021010523-220bb537a173 // indirect
Original file line number Diff line number Diff line change
1
+ {{ define "title" }}
2
+ On Nix: Everything you need to build reliable systems!
3
+ {{ end }}
4
+
5
+ {{ define "nav-title" }}
6
+ On Nix
7
+ {{ end }}
8
+
9
+ {{ define "nav-subtitle"}}
10
+ Everything you need to build reliable systems!
11
+ {{ end }}
12
+
13
+ {{ define "main" }}
14
+ This website is a work in progress, yet< br />
15
+
16
+ In the mean time, here are some very good links to get you started:
17
+
18
+ < ul >
19
+ < li >
20
+ < a href ="https://python.on-nix.com ">
21
+ Python on Nix
22
+ </ a >
23
+ </ li >
24
+ </ ul >
25
+ {{ end }}
You can’t perform that action at this time.
0 commit comments