Skip to content

Commit 81618b3

Browse files
authored
fix: bake env URLs to e2e workflow (#256)
1 parent 3088195 commit 81618b3

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/e2e.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ env:
2020
RUSTC_WRAPPER: sccache
2121
CC: sccache clang
2222
CXX: sccache clang++
23-
FAUCET_TOPUP_REQ_URL: '${{ vars.FAUCET_TOPUP_REQ_URL }}'
24-
FAUCET_TX_URL_CALIBNET: '${{ vars.FAUCET_TX_URL_CALIBNET }}'
25-
FAUCET_TX_URL_MAINNET: '${{ vars.FAUCET_TX_URL_MAINNET }}'
26-
2723
jobs:
2824
e2e:
2925
runs-on: ubuntu-latest
@@ -64,6 +60,14 @@ jobs:
6460
6561
- name: Run website
6662
run: |
63+
# These might or might not be the same as used for deployment. They are used strictly for testing purposes.
64+
# Note: those can't be put directly as environment variables in GH Actions (without a default value) due to
65+
# the way GH Actions handles secrets and variables; forks would not be able to access them and in turn
66+
# would not be able to run the E2E tests.
67+
export FAUCET_TOPUP_REQ_URL="https://github.com/ChainSafe/forest-explorer/discussions/134"
68+
export FAUCET_TX_URL_CALIBNET="https://beryx.io/fil/calibration/"
69+
export FAUCET_TX_URL_MAINNET="https://beryx.io/fil/mainnet/"
70+
6771
corepack enable
6872
yarn --immutable
6973
yarn build

0 commit comments

Comments
 (0)