Update build config
This commit is contained in:
parent
981e41a947
commit
82274ddd70
|
@ -1,23 +1,21 @@
|
|||
image: debian/bullseye
|
||||
oauth: pages.sr.ht/PAGES:RW
|
||||
packages:
|
||||
- ruby-full
|
||||
- golang
|
||||
- hugo
|
||||
environment:
|
||||
site: huyngo.srht.site
|
||||
tasks:
|
||||
- install: |
|
||||
sudo gem install jekyll bundler --no-document
|
||||
git clone https://git.sr.ht/~sircmpwn/openring
|
||||
cd openring
|
||||
go build -o openring
|
||||
sudo cp openring /usr/local/bin/
|
||||
- package: |
|
||||
cd $site
|
||||
bundle install
|
||||
./create-webring.sh
|
||||
bundle exec jekyll build
|
||||
cd _site
|
||||
hugo
|
||||
cd public
|
||||
tar -cvz . > ../../site.tar.gz
|
||||
- upload: |
|
||||
acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
.sass-cache/
|
||||
.jekyll-cache/
|
||||
.jekyll-metadata
|
||||
_site/
|
||||
public/
|
||||
resources/
|
||||
custom-webring.html
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
baseURL = "http://example.org/"
|
||||
baseURL = "https://huyngo.srht.site/"
|
||||
copyright = "CC-BY-SA 4.0"
|
||||
defaultContentLanguage = "en"
|
||||
languageCode = "en-us"
|
||||
|
|
Loading…
Reference in New Issue