Skip to content

Commit

Permalink
fix export vars and conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
jafow committed Oct 18, 2020
1 parent 69dc216 commit 6b62667
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/web-admin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
SHA=${{ github.sha }}
BUILT_AT=$(date "+%Y-%m-%d %H:%M:%S%z")
if [ ${{ github.event_name == 'release' }} ]; then
API_URL=https://api.dev.ballotnav.org
API_URL=https://api.ballotnav.org
TARGET_BUCKET=admin.ballotnav.org
else
API_URL=https://api.ballotnav.org
API_URL=https://api.dev.ballotnav.org
TARGET_BUCKET=admin.dev.ballotnav.org
fi
Expand All @@ -58,6 +58,7 @@ jobs:
adminui:
runs-on: ubuntu-latest
needs: [whatisthecontext]
if: ${{ needs.whatisthecontext.outputs.is_github_release != true }}
strategy:
matrix:
node-version: [12.x]
Expand Down

0 comments on commit 6b62667

Please sign in to comment.