~seirdy/seirdy.one

ref: dba315efce66c283e4c136631f0d955ca9e3a2f6 seirdy.one/.build.yml -rw-r--r-- 778 bytes
dba315efRohan Kumar Add segment about Do Not Track 7 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
30
31
---
image: alpine/edge
packages:
  - rsync
  - zopfli  # for max compression w/ gzip_static
  - brotli  # for max compression w/ brotli_static, decompressing binaries
  - git  # for Hugo's gitInfo
  - make
  - jq
sources:
  - https://git.sr.ht/~seirdy/seirdy.one
secrets:
  - cc1eb90c-b07b-4c46-86d4-58fec41cf0e4
triggers:
  - action: email
    condition: always
    to: seirdy@seirdy.one
tasks:
  - deps: |
      echo "StrictHostKeyChecking=no" >> ~/.ssh/config
      rsync deploy@seirdy.one:/home/deploy/binaries.tar.br .
      mkdir -p ~/bin
      brotli -dc binaries.tar.br | tar x -oC ~/bin
      cd seirdy.one
  - build_deploy: |
      cd seirdy.one
      export PATH=~/bin:$PATH
      make clean deploy
      cp mentions.json ~/mentions.json
artifacts:
  - mentions.json