From 9939d098e7bb326cbe4208d1ed3bb69a458bbc39 Mon Sep 17 00:00:00 2001 From: KartoffelChipss Date: Thu, 7 May 2026 16:10:26 +0200 Subject: [PATCH] Add quay deployment step --- .gitea/workflows/deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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