This commit is contained in:
@@ -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
|
||||
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}"
|
||||
Reference in New Issue
Block a user