File tree Expand file tree Collapse file tree 11 files changed +58
-58
lines changed
Expand file tree Collapse file tree 11 files changed +58
-58
lines changed Original file line number Diff line number Diff line change 88jobs :
99 deploy :
1010 name : Build and Deploy
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-slim
1212 steps :
1313 - name : Checkout code
1414 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 11# ## Hugo
22# Generated files by hugo
3+ .hugo_build.lock
34/public /
45/resources /_gen /
56
Original file line number Diff line number Diff line change 1- ENGINE_COMMAND := ${shell . ./commands.sh; echo $$ENGINE_COMMAND}
1+ ENGINE_COMMAND := ${shell . ./run; echo $$ENGINE_COMMAND}
2+
3+ HUGO := ./run hugo
4+ YARN := ./run yarn
25
36.PHONY : all
47all : build
58
69.PHONY : dependencies
710dependencies :
8- ./yarn install
11+ $( YARN ) install
912
1013.PHONY : build
1114build : dependencies
12- ./hugo --minify
15+ $( HUGO ) --minify
1316 cd docs && make build
1417 mv ./docs/site ./public/docs
1518 # If we run using Docker, we should reset file ownership afterwards.
1922
2023.PHONY : server
2124server : dependencies
22- ./hugo server --minify --buildDrafts
25+ $( HUGO ) server --minify --buildDrafts
2326
2427.PHONY : clean
2528clean :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- baseURL = " https://www. pushbits.io/"
1+ baseURL = " https://pushbits.github .io/"
22languageCode = " en-us"
33title = " PushBits"
44disableHugoGeneratorInject = true
Original file line number Diff line number Diff line change 11site_name : PushBits
22
3- site_url : https://www. pushbits.io/docs/
3+ site_url : https://pushbits.github .io/docs/
44
55nav :
66 - Getting Started : index.md
3333 - header.autohide
3434
3535extra :
36- homepage : https://www. pushbits.io/
36+ homepage : https://pushbits.github .io/
3737 social :
3838 - icon : fontawesome/brands/twitter
3939 link : https://twitter.com/eikendev
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ run
Original file line number Diff line number Diff line change 99{{- template "_internal/schema.html" . -}}
1010{{- template "_internal/twitter_cards.html" . -}}
1111
12- {{ with .Site.Social.twitter -}}
13- < meta name ="twitter:creator " content ="@{{ . }} "/>
14- {{ end -}}
15-
1612< title > {{ $.Site.Title }}</ title >
1713
1814< link rel ="canonical " href ="{{ .Permalink }} ">
Original file line number Diff line number Diff line change 11{
2- "name" : " pushbits.io" ,
2+ "name" : " pushbits.github. io" ,
33 "version" : " 0.0.1" ,
44 "description" : " A relay server for push notifications via Matrix" ,
55 "main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments