Skip to content

Commit

Permalink
testing .env
Browse files Browse the repository at this point in the history
  • Loading branch information
otherview committed Sep 20, 2023
1 parent 7ed8ff1 commit 3437839
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/dev-testnet.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RESOURCE_TESTNET_NAME=dev-testnet
13 changes: 11 additions & 2 deletions .github/workflows/manual-deploy-testnet-l2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment:
name: ${{ github.event.inputs.testnet_type }}

# Map a step output to a job output
outputs:
Expand All @@ -40,6 +38,17 @@ jobs:
POC_ERC20_ADDR: ${{ steps.deployContracts.outputs.POC_ERC20_ADDR }}

steps:
- name: Load environment variables
uses: dotenv-actions/setup-dotenv@v2
with:
dotenv_path: ${{ github.event.inputs.testnet_type }}.env

- name: 'Deploy Contracts'
id: deployContracts
shell: bash
run: |
echo "Loaded environment variables -> $RESOURCE_TESTNET_NAME"
- uses: actions/checkout@v3

- uses: actions/setup-go@v4
Expand Down

0 comments on commit 3437839

Please sign in to comment.