Skip to content

Commit

Permalink
add deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whonion committed Jun 26, 2023
1 parent ee7eb9b commit c31d214
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,13 @@ jobs:
- name: Setup environment variables
run: |
echo "PRIVATE_KEY=${{ secrets.PRIVATE_KEY }}" >> $GITHUB_ENV
echo "CHAIN_ID=5" >> $GITHUB_ENV
- name: Build Go Project
run: go build main.go

- name: Test Go Project with the Go CLI
run: go test main.go

echo "RPC_PROVIDER=${{ secrets.RPC_PROVIDER }}" >> $GITHUB_ENV
echo "CHAIN_ID=59140" >> $GITHUB_ENV
- name: Run script and Deployment contracts
run: |
go run main.go
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
CHAIN_ID: 5
RPC_PROVIDER: ${{ secrets.RPC_PROVIDER }}
CHAIN_ID: 59140

0 comments on commit c31d214

Please sign in to comment.