Skip to content

Commit

Permalink
give workflow better name, fix env. refs.
Browse files Browse the repository at this point in the history
  • Loading branch information
5u6r054 committed Aug 7, 2024
1 parent 1dc422a commit 3579f03
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Deploy GCP Testnet Bootnodes
on:
push:
tags:
Expand All @@ -12,7 +12,7 @@ jobs:
build-and-release:
runs-on: ubuntu-latest
environment:
name: ${{ startsWith(github.ref, 'refs/tags/v') && 'production' || 'development' }}
name: "test" #will expand to other envs later, currently "test" deploys to the 5 GCP bootnodes
outputs:
environment: ${{ steps.set-env.outputs.environment }}
steps:
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
gsutil cp ./contracts/* gs://${{ vars.GCP_BUCKET_NAME }}/
- name: Set environment output
id: set-env
run: echo "environment=production" >> $GITHUB_OUTPUT
run: echo "environment=test" >> $GITHUB_OUTPUT

deploy:
needs: build-and-release
Expand Down

0 comments on commit 3579f03

Please sign in to comment.