From 0c2541a45cc3b0853d67d9c9438a2cca25f38aa8 Mon Sep 17 00:00:00 2001 From: Igor Rodionov Date: Tue, 10 Dec 2024 20:04:46 +0100 Subject: [PATCH] Fix deployments overrides --- .github/workflows/website-preview-deploy.yml | 2 ++ .github/workflows/website-preview-destroy.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/website-preview-deploy.yml b/.github/workflows/website-preview-deploy.yml index 44eba4bb0..8959d30d3 100644 --- a/.github/workflows/website-preview-deploy.yml +++ b/.github/workflows/website-preview-deploy.yml @@ -37,6 +37,7 @@ jobs: with: step: start env: preview + override: false ref: ${{ github.event.workflow_run.pull_requests[0].head.ref }} - name: Checkout Repository @@ -86,6 +87,7 @@ jobs: with: step: finish status: ${{ job.status }} + override: false env: ${{ steps.deployment.outputs.env }} deployment_id: ${{ steps.deployment.outputs.deployment_id }} env_url: https://${{ env.DEPLOYMENT_HOST }} diff --git a/.github/workflows/website-preview-destroy.yml b/.github/workflows/website-preview-destroy.yml index 09f382ea5..194fc4db2 100644 --- a/.github/workflows/website-preview-destroy.yml +++ b/.github/workflows/website-preview-destroy.yml @@ -53,5 +53,6 @@ jobs: with: step: deactivate-env env: preview + override: false ref: ${{ steps.get_branch.outputs.branch }} desc: Environment was pruned