summaryrefslogtreecommitdiffstats
path: root/.builds/publish.yml
blob: 9808df085466a18988ec198d3b1fa08e26203770 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
image: alpine/3.23
submitter:
  git.sr.ht:
    enabled: true
    allow-refs:
      - "refs/tags/*"
packages:
  - uv
secrets:
  - 7aa95247-8be4-48d2-8bc9-f081f2151b7e
sources:
  - https://git.sr.ht/~eugenetriguba/lirc
triggers:
  - action: email
    condition: failure
    to: builds@eugenetriguba.com
tasks:
  - publish: |
      cd lirc
      set +x
      TOKEN=$(cat ~/.pypi-token)
      ./scripts/publish.sh --token "$TOKEN"