Skip to content

Commit

Permalink
release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejewsky committed Jan 2, 2024
1 parent 6990a12 commit ef165f7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/actions/prepare-api-variables/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ runs:
shell: bash
env:
MODE: ${{ inputs.MODE }}
BRANCH: ${{ GITHUB_REF#refs/heads/ }}
PREFIX: pr-
run: |
if [[ $MODE == 'pull-request' ]]; then
Expand All @@ -49,10 +48,10 @@ runs:
fi
if [[ $MODE == 'release' ]]; then
echo "BASE_URL=https://v${BRANCH}.staging.saleor.cloud/dashboard/" >> $GITHUB_OUTPUT
echo "API_URI=https://v${BRANCH}.staging.saleor.cloud/graphql/" >> $GITHUB_OUTPUT
echo "POOL_NAME=v${BRANCH}" >> $GITHUB_OUTPUT
echo "POOL_INSTANCE=https://v${BRANCH}.staging.saleor.cloud/" >> $GITHUB_OUTPUT
echo "BASE_URL=https://v${GITHUB_REF_SLUG}.staging.saleor.cloud/dashboard/" >> $GITHUB_OUTPUT
echo "API_URI=https://v${GITHUB_REF_SLUG}.staging.saleor.cloud/graphql/" >> $GITHUB_OUTPUT
echo "POOL_NAME=v${GITHUB_REF_SLUG}" >> $GITHUB_OUTPUT
echo "POOL_INSTANCE=https://v${GITHUB_REF_SLUG}.staging.saleor.cloud/" >> $GITHUB_OUTPUT
exit 0
fi
Expand Down

0 comments on commit ef165f7

Please sign in to comment.