fix: only deploy if internal

This commit is contained in:
Michael H.
2026-07-31 13:21:35 +02:00
parent 919b235621
commit a53c9c3771
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -11,6 +11,7 @@ permissions:
jobs:
deploy:
if: ${{ github.event.client_payload.pull_request.head.repo.full_name == github.repository }}
uses: SparkUniverse/workflows/.github/workflows/deploy-command.yaml@main
secrets:
ARGOCD_DEPLOY_KEY: ${{ secrets.ARGOCD_DEPLOY_KEY }}
+2 -2
View File
@@ -139,8 +139,8 @@ jobs:
artifacts-name: labrinth-docker-context
deploy:
needs: docker-build
if: ${{ github.ref == 'refs/heads/main' || github.ref == 'refs/heads/prod' }}
needs: [skip-if-clean, docker-build]
if: ${{ needs.skip-if-clean.outputs.internal == 'true' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/prod') }}
uses: SparkUniverse/workflows/.github/workflows/argo-update.yaml@main
secrets:
ARGOCD_DEPLOY_KEY: ${{ secrets.ARGOCD_DEPLOY_KEY }}