~subsetpark/subsetpark

ref: ac79ff1f88326f6bfe89dbc9540fc15ff318a67a subsetpark/.build.yml -rw-r--r-- 724 bytes
ac79ff1f — Zach Smith Drop the 'of course', it's redundant 9 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
29
image: archlinux
packages:
  - curl
  - netlify
  - htmlmin
  - yuicompressor
secrets:
  # You'll want to replace this with the ID of your secret copied above
  -  82f3e52d-eef7-46bc-bb2f-4b93c8ce468c
environment:
  # Replace this ID with your site's API ID
  NETLIFY_SITE_ID: 3d8f936d-e8a2-4ec5-8c00-89e44ab961ff
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 subsetpark/
  - build: |
      cd subsetpark
      ./bag index.janet
  - deploy: |
      cd subsetpark
      {
        set +x
        . ~/.buildsecrets
        set -x
      }
      export NETLIFY_AUTH_TOKEN
      netlify deploy --site=$NETLIFY_SITE_ID --dir=site --prod