Skip to content

Commit

Permalink
ci(github actions): Replace get and set of version tag env var
Browse files Browse the repository at this point in the history
  • Loading branch information
xavier506 committed Aug 30, 2020
1 parent 4537c4a commit 9a5c714
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Set Version Tag
id: tag
uses: dawidd6/action-get-tag@v1
run: echo ::set-env name=REACT_APP_PROJECT_VERSION::${GITHUB_REF#refs/*/}

- name: Install Packages
run: yarn --frozen-lockfile
Expand All @@ -42,7 +42,6 @@ jobs:
prerelease: true

env:
REACT_APP_PROJECT_VERSION: ${{ steps.tag.outputs.tag }}
REACT_APP_EOS_API_HOST: api.eosargentina.io
REACT_APP_EOS_API_PORT: 443
REACT_APP_EOS_API_PROTOCOL: https
Expand Down

0 comments on commit 9a5c714

Please sign in to comment.