~cedric/gemspace.cedricbonhomme.org

gemspace.cedricbonhomme.org/.build.yml -rw-r--r-- 480 bytes
d3f4e7d0Cédric Bonhomme added content for pyenigma 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: alpine/latest
packages:
  - go
oauth: pages.sr.ht/PAGES:RW
environment:
  site: gemspace.cedricbonhomme.org
sources:
  - https://git.sr.ht/~gsthnz/gssg
tasks:
  - setup: |
      cd gssg
      make
      sudo make install
  - build: |
      cd $site
      /usr/local/bin/gssg
      cd public/
      tar -cvz . > ../site.tar.gz
  - upload: |
      cd $site
      acurl -f https://pages.sr.ht/publish/$site \
            -Fcontent=@site.tar.gz \
            -Fprotocol=GEMINI