Skip to content

Commit

Permalink
remove deprecated set-env command from github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sidpalas committed Nov 3, 2020
1 parent 2da70ce commit 7f6d4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-push-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
- name: Set ENV
run: |-
if [ ${GITHUB_REF##*/} = "master" ]; then
echo "::set-env name=ENV::staging"
echo "ENV=staging" >> $GITHUB_ENV
else
echo "::set-env name=ENV::prod"
echo "ENV=prod" >> $GITHUB_ENV
fi
- name: Checkout
Expand Down

0 comments on commit 7f6d4c4

Please sign in to comment.