~subsetpark/bagatto-website

ref: 1114f5b61df734833d953f8a06f050d4d8239963 bagatto-website/.build.yml -rw-r--r-- 672 bytes
1114f5b6 — Zach Smith Add bagatto source for manual a month 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
29
image: archlinux
packages:
  - curl
  - netlify
  - htmlmin
  - yuicompressor
sources:
  - https://git.sr.ht/~subsetpark/bagatto
secrets:
  -  82f3e52d-eef7-46bc-bb2f-4b93c8ce468c
environment:
  NETLIFY_SITE_ID: 7d716541-202c-43a6-8ad4-eb5c387597b5
tasks:
  - bag: |
      curl https://bagatto.co/builds/bag-x86_64-static.v0-6-1.tar.gz -o bag.tar.gz
      tar -xvf bag.tar.gz
      mv bag bagatto-website/
  - build: |
      cd bagatto-website
      ./bag web.janet
  - deploy: |
      cd bagatto-website
      {
        set +x
        . ~/.buildsecrets
        set -x
      }
      export NETLIFY_AUTH_TOKEN
      netlify deploy --site=$NETLIFY_SITE_ID --dir=site --prod