diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-04-12 12:52:40 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-04-12 12:52:40 +0700 |
commit | 82274ddd70893422910a9ee3f205245f99caa44a (patch) | |
tree | c55f8fba72d82402a5c8f0c808583b4f3ad10cbd /.build.yml | |
parent | 981e41a9473654c4ee754f86a78d54c8c5cad9b2 (diff) | |
download | blog-82274ddd70893422910a9ee3f205245f99caa44a.tar.gz |
Update build config
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.build.yml b/.build.yml index 700f236..8e5fa49 100644 --- a/.build.yml +++ b/.build.yml @@ -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 |