~taavi/taavi.wtf

ref: 62d7c2e891bcbb880c5b9ad1d97d7be93c43d2bb taavi.wtf/.build.yml -rw-r--r-- 452 bytes
62d7c2e8Taavi Väänänen add latest blog archive to front page 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
image: debian/bullseye
packages:
  - hugo
sources:
  - https://git.sr.ht/~taavi/taavi.wtf
oauth: pages.sr.ht/PAGES:RW
tasks:
  - install: |
      cd taavi.wtf
  - build: |
      cd taavi.wtf
      hugo --gc --minify --cleanDestinationDir
      tar -C public -cvz . > ../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/taavi.wtf -Fcontent=@site.tar.gz
      acurl -f https://pages.sr.ht/publish/www.taavi.wtf -Fcontent=@site.tar.gz