Skip to content

Commit

Permalink
contract address to .env #8
Browse files Browse the repository at this point in the history
  • Loading branch information
nadyasav committed Oct 19, 2023
1 parent 9adea18 commit 765fc53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- name: Load environment variables
working-directory: ${{ github.workspace }}/frontend
run: |
echo ${{ vars.VITE_REACT_POLYGON_ADDRESS_PP_VAULT_FACTORY }} > .env
echo VITE_REACT_APP_GIT_TAG=${{ github.ref_name }} >> .env
echo VITE_REACT_APP_GIT_DATE="$(git log -1 --format=%cd)" >> .env
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/constants/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const ANIMATION_MS = 200;
export const ABI = {
createVault: {
name: 'createVault',
address: '546C7a5166928a1F20F62456d2E9DdaDf6CEFcBe',
address: import.meta.env.VITE_REACT_POLYGON_ADDRESS_PP_VAULT_FACTORY,
},
};

Expand Down

0 comments on commit 765fc53

Please sign in to comment.