~alexdavid/alexdav.id

alexdav.id/.build.yml -rw-r--r-- 631 bytes
7d917baa — Alex David Add Pinata IPFS pinning on deploy 6 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
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
  - jq
  - go
  - hut
sources:
  - https://git.sr.ht/~alexdavid/alexdav.id
secrets:
  - e517c8df-1db4-4020-b49c-c68eb29124c2
  - 45d239e5-7fab-4eea-97b4-31f38e2d5914
  - b949da17-56e8-4397-828c-23e85b7eb605
  - 7849f324-7c5c-408f-b1a3-a41ea1d2ce7e
tasks:
  - test: |
      cd alexdav.id/generator
      go test ./...
  - build: |
      alexdav.id/generate
      cd alexdav.id/dist
      tar -cvz . > ../../alexdav.id.tar.gz
  - publish-srht-pages: |
      hut pages publish -d alexdav.id alexdav.id.tar.gz
  - publish-ipfs: |
      alexdav.id/publish-ipfs alexdav.id.tar.gz