~ane/web

web/.build.yml -rw-r--r-- 555 bytes
ceea0b9fAntoine Kalmbach make it smaller 2 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
26
27
28
image: debian/stable
oauth: pages.sr.ht/PAGES:RW
environment:
  site: ane.iki.fi
packages:
  - ruby2.5
  - graphviz
  - ditaa
  - plantuml
  - ruby-dev
  - zlib1g-dev
sources:
  - https://git.sr.ht/~ane/web
secrets:
  - 1d566b53-84ba-4840-afac-e20f0b3b02ef
tasks:
  - install-bundler: |
      sudo gem install bundler
  - build: |
      cd web
      bundle install
      bundle exec jekyll build
  - package: |
      cd web/_site
      tar -cvz . > ../../site.tar.gz
  - upload: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@site.tar.gz