From 3adab43bfa842779a4e1f6aa90f44519f621e9ec Mon Sep 17 00:00:00 2001 From: fritz-astronomer <80706212+fritz-astronomer@users.noreply.github.com> Date: Tue, 27 Aug 2024 20:55:28 -0400 Subject: [PATCH] cicd hotfix: move pypi env stuff to release block --- .github/workflows/deploy.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2a64250..ef5ce36 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -16,11 +16,6 @@ jobs: - "macos-latest" # --8<-- [end:oses] runs-on: ${{ matrix.os }} - environment: - name: pypi - url: https://pypi.org/p/astronomer-orbiter - permissions: - id-token: write steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -47,6 +42,12 @@ jobs: release: needs: build runs-on: "ubuntu-latest" + environment: + name: pypi + url: https://pypi.org/p/astronomer-orbiter + permissions: + id-token: + write steps: - uses: actions/download-artifact@v4 - run: ls -R