~kmdodrill/my-brother-lives-in-a-canyon-website

my-brother-lives-in-a-canyon-website/.build.yml -rw-r--r-- 475 bytes
765d25e7Kenneth Dodrill Update for launch 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: alpine/latest
oauth: pages.sr.ht/PAGES:RW
packages:
  - zola
  - git
environment:
  deploy_dir: ./public
  project_dir: my-brother-lives-in-a-canyon-website
  site: mybrotherlivesinacanyon.com
tasks:
  - setup: |
      cd $project_dir
  - build: |
      cd $project_dir
      zola build
  - package: |
      cd $project_dir
      tar -C $deploy_dir -cvz . > site.tar.gz
  - deploy: |
      acurl -f https://pages.sr.ht/publish/$site -Fcontent=@$project_dir/site.tar.gz