Fix variables passing between staging workflow steps (#1368)
This commit is contained in:
parent
97b4333c73
commit
93d5a5fdd3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy-staging.yaml
vendored
4
.github/workflows/deploy-staging.yaml
vendored
|
@ -35,9 +35,9 @@ jobs:
|
||||||
SERVICE_NAME_INPUT=${{ github.event.inputs.service_name }}
|
SERVICE_NAME_INPUT=${{ github.event.inputs.service_name }}
|
||||||
SERVICE_NAME="${SERVICE_NAME_INPUT:=saleor-master-staging}"
|
SERVICE_NAME="${SERVICE_NAME_INPUT:=saleor-master-staging}"
|
||||||
|
|
||||||
echo "export GIT_REF=$GIT_REF" >> $GITHUB_ENV
|
echo "GIT_REF=$GIT_REF" >> $GITHUB_ENV
|
||||||
# ENVIRONMENT variable is provided to sentry at build time
|
# ENVIRONMENT variable is provided to sentry at build time
|
||||||
echo "export ENVIRONMENT=$SERVICE_NAME" >> $GITHUB_ENV
|
echo "ENVIRONMENT=$SERVICE_NAME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue