Actually, no, use GH variables instead of GH secrets

GH secrets are not accessible to workflows triggered by PRs from forks, which doesn't work with how we work. Lets use variables instead, with the caveat that these are public now. Not a problem since we configured in such a way that they only work for Lynx contracts.
pull/3274/head
David Núñez 2023-10-06 12:46:42 +02:00
parent 0b93dd6ecb
commit 4285137026
No known key found for this signature in database
GPG Key ID: 53A9D83EF4C6332A
1 changed files with 4 additions and 3 deletions

View File

@ -10,6 +10,10 @@ on:
- epic-*
workflow_dispatch:
env:
DEMO_L1_PROVIDER_URI: ${{ vars.DEMO_L1_PROVIDER_URI }}
DEMO_L2_PROVIDER_URI: ${{ vars.DEMO_L2_PROVIDER_URI }}
jobs:
python-tests:
@ -51,7 +55,4 @@ jobs:
run: python -c "import nucypher; print(nucypher.__version__)"
- name: Lynx testnet script
env:
DEMO_L1_PROVIDER_URI: ${{ secrets.DEMO_L1_PROVIDER_URI }}
DEMO_L2_PROVIDER_URI: ${{ secrets.DEMO_L2_PROVIDER_URI }}
run: python examples/testnet_simple_taco.py