Skip to content

Commit

Permalink
WG bash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sominemo committed Apr 8, 2020
1 parent 8c4ebd1 commit a68122d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
yarn install --frozen-lockfile
- name: Build
env:
PRERELEASE: "${{ !github.event.release.prerelease }}"
PRERELEASE: "${{ github.event.release.prerelease }}"
run: |
echo $PRERELEASE
if [[ PREPELEASE -eq 1 ]]; then yarn run wg; else yarn run build; fi
if [[ PREPELEASE == true ]]; then yarn run wg; else yarn run build; fi
- name: Test
run: |
yarn test
Expand Down Expand Up @@ -59,6 +58,7 @@ jobs:
ref: "${{ github.event.release.tag_name }}"
auto_merge: "false"
inititial_status: pending
environment: production
description: "Release publication"
- uses: chrnorm/deployment-action@releases/v1
name: Request Pre-Release Deployment
Expand All @@ -70,5 +70,6 @@ jobs:
ref: "${{ github.event.release.tag_name }}"
auto_merge: "false"
inititial_status: pending
environment: wg
description: "Pre-Release publication"

0 comments on commit a68122d

Please sign in to comment.