From 0ed012cb2ef34d7937c22969bdc062eb32476341 Mon Sep 17 00:00:00 2001 From: Dax Date: Mon, 26 Oct 2026 14:33:48 -0400 Subject: [PATCH] ci: restore deploy.yml environments (#59353) --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 01149333e50..42c49c4df07 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,16 +12,13 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: contents: read + id-token: write jobs: deploy: if: github.repository == 'anomalyco/opencode' && (github.ref_name == 'dev' || github.ref_name == 'production' || github.ref_name == 'beta') runs-on: blacksmith-4vcpu-ubuntu-2404 - # production keeps its own environment so dev and beta pushes can never reach production credentials. - environment: ${{ github.ref_name == 'production' && 'production' || 'release' }} - permissions: - contents: read - id-token: write + environment: ${{ github.ref_name }} steps: - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0