From 82274ddd70893422910a9ee3f205245f99caa44a Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 12 Apr 2021 12:52:40 +0700 Subject: Update build config --- .build.yml | 8 +++----- .gitignore | 6 ++---- config.toml | 2 +- 3 files changed, 6 insertions(+), 10 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 diff --git a/.gitignore b/.gitignore index e0b8fe9..695dba4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata -_site/ +public/ +resources/ custom-webring.html diff --git a/config.toml b/config.toml index cdca60f..6a61a21 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "http://example.org/" +baseURL = "https://huyngo.srht.site/" copyright = "CC-BY-SA 4.0" defaultContentLanguage = "en" languageCode = "en-us" -- cgit 1.4.1