~ianmjones/snippetpixie

ref: f1f6be3e222405c0bcc7c79252eff8b98620a475 snippetpixie/.builds/nixos-unstable.yml -rw-r--r-- 675 bytes
f1f6be3eIan M. Jones Auto-publish site to snippetpixie.com 2 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
image: nixos/unstable
oauth: pages.sr.ht/PAGES:RW
packages:
  - nixos.hut
sources:
  - https://git.sr.ht/~ianmjones/snippetpixie
tasks:
  - build: |
      cd snippetpixie
      nix-shell --pure --run 'make'
  - test: |
      cd snippetpixie
      nix-shell --pure --run 'xvfb-run make test'
  - package-site: |
      cd snippetpixie
      nix-shell --pure --run 'make site-tgz'
  - upload-site: |
      hut pages publish -d snippetpixie.org snippetpixie/site.tgz
      hut pages publish -d snippetpixie.com snippetpixie/site.tgz
      hut pages publish -d www.snippetpixie.com snippetpixie/site.tgz
triggers:
  - action: email
    condition: always
    to: ian@ianmjones.com