~tristan957/tristan.partin.io

ref: 6569cbb0f2c17d30f25a67370c33e03cf614575e tristan.partin.io/.build.yml -rw-r--r-- 652 bytes
6569cbb0Tristan Partin Update hugo submodule 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
  - go
  - hugo
  - shellcheck
sources:
  - https://git.sr.ht/~tristan957/tristan.partin.io
tasks:
  - lint: |
      cd tristan.partin.io
      shellcheck $(find scripts/ -type f)
  - openring: |
      cd tristan.partin.io
      ./scripts/openring/build.sh
  - build: |
      cd tristan.partin.io
      ./scripts/openring/generate.sh
      hugo --baseURL=https://tristan957.srht.site
  - package: |
      cd tristan.partin.io
      tar -C public -cvz . > site.tar.gz
  - upload: |
      cd tristan.partin.io
      acurl -f https://pages.sr.ht/publish/tristan957.srht.site -Fcontent=@site.tar.gz