~vam-jam/vamist.dev

42a0b1f176cb9238e96b4a6a6241613989c97c82 — Vamist 2 months ago 536d51b v3
[fix] Build
1 files changed, 1 insertions(+), 10 deletions(-)

M .build.yml
M .build.yml => .build.yml +1 -10
@@ 7,7 7,7 @@ packages:
sources:
  - https://git.sr.ht/~vam-jam/vamist.dev
environment:
  deploy: velho@vamist.dev
  deploy: velho@ssh.vamist.dev
secrets:
  - daccbbd7-4dc6-4650-b3cb-348905c24ecc
  - 8d81d536-fcfa-4e11-bc83-af3895f0aa10


@@ 22,12 22,3 @@ tasks:
      cd vamist.dev
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -r --delete ./dist/ $deploy:/srv/http/vamist.dev/
  - cache: |
      set +x
      api_key=$(cat ~/.bunnycdn)
      curl --request POST \
        --url https://api.bunny.net/pullzone/1566807/purgeCache \
        --header "AccessKey: "${api_key}"" \
        --header 'content-type: application/json' >/dev/null 2>&1
      set -x