diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8ca68b96..5e41ea08 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -153,12 +153,18 @@ jobs: if [ "${{ github.ref }}" = "refs/tags/latest-stable" ]; then REF="latest-stable" ENVIRONMENT="graphite-editor (Production)" + AUTO_INACTIVE="true" + TRANSIENT_ENVIRONMENT="false" elif [ "${{ github.event_name }}" = "push" ]; then REF="master" ENVIRONMENT="graphite-dev (Production)" + AUTO_INACTIVE="true" + TRANSIENT_ENVIRONMENT="false" else REF="${{ inputs.checkout_ref || github.head_ref || github.ref_name }}" ENVIRONMENT="graphite-dev (Preview)" + AUTO_INACTIVE="false" + TRANSIENT_ENVIRONMENT="true" fi create_deployment() { gh api \ @@ -167,7 +173,14 @@ jobs: repos/${{ github.repository }}/deployments \ --input - \ --jq '.id' <