@@ 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
-