Skip to content

Commit

Permalink
inject env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Shayne Preston committed Nov 11, 2024
1 parent 927738d commit 3caddea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,17 @@ jobs:

- name: Run E2E Tests
shell: bash
env:
# Inject app secrets like API keys here from github secrets
ABORT_DELAY: 5000
EXAMPLE_APP: Example App
run: |
if [ "${{ github.event_name }}" == "schedule" ]; then
# Normally would not be needed but we have no test environment in this template
sudo echo "127.0.0.1 local.example-test.com" | sudo tee -a /etc/hosts
pnpm run postinstall:setup-cert
# ----
pnpm run test:e2e:test
else
sudo echo "127.0.0.1 local.example-test.com" | sudo tee -a /etc/hosts
Expand Down

0 comments on commit 3caddea

Please sign in to comment.