aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 6bbf3f9b5257bc6962c808726359b68a90ac9a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
- nodejs
- npm
environment:
  site: mccd.space
tasks:
- package: |
    cd $site
    npm install
    npm run build
    cd _site
    tar -cvz . > ../../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz