Skip to content

Commit

Permalink
Merge pull request #395 from microbiomedata/issue-357-steps-if
Browse files Browse the repository at this point in the history
Env context only available in `steps.if`
  • Loading branch information
pkalita-lbl authored Nov 21, 2023
2 parents 4a4c609 + bd3da6f commit dcc210f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-release-to-spin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ jobs:
release:
needs: build

if: ${{ env.IS_ORIGINAL_REPO }}

runs-on: ubuntu-latest

Expand All @@ -85,6 +84,7 @@ jobs:

steps:
- name: Redeploy ${{ env.RANCHER_NAMESPACE }}:${{ matrix.deployment }}
if: ${{ env.IS_ORIGINAL_REPO }}
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.RANCHER_URL }}/v3/project/${{ secrets.RANCHER_CONTEXT }}/workloads/deployment:${{ env.RANCHER_NAMESPACE }}:${{ matrix.deployment }}?action=redeploy
Expand Down

0 comments on commit dcc210f

Please sign in to comment.