aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
blob: 46a2d61e21fc5ea88b05b46e1d162073e4a75439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
      cp robots.txt _site/
      cd _site
      tar -cvz . > ../../site.tar.gz
  - upload: |
      hut pages publish -d $site site.tar.gz