diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 00382a1..4d6fadd 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -56,4 +56,14 @@ jobs: git commit -m "Deploy: ${{ gitea.sha }}" || { echo "Nothing to commit"; exit 0; } # Force-push to pages branch - git push --force "https://${ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER#https://}/${REPO}.git" pages \ No newline at end of file + git push --force "https://${ACTOR}:${GITEA_TOKEN}@${GITEA_SERVER#https://}/${REPO}.git" pages + + - name: Quay deployment + if: success() + env: + QUAY_TOKEN: ${{ secrets.QUAY_DEPLOY_TOKEN }} + QUAY_SITE_ID: ${{ secrets.QUAY_SITE_ID }} + run: | + curl -X POST \ + "https://quay.jan.run/api/v1/deploy?site=${QUAY_SITE_ID}" \ + -H "Authorization: Bearer ${QUAY_TOKEN}" \ No newline at end of file