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 | |
parent | 981e41a9473654c4ee754f86a78d54c8c5cad9b2 (diff) | |
download | blog-82274ddd70893422910a9ee3f205245f99caa44a.tar.gz |
Update build config
-rw-r--r-- | .build.yml | 8 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | 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" |