Skip to content

Commit

Permalink
update action workflow to be branch agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
dallen4 committed Jul 12, 2023
1 parent 1eda65b commit e0edbf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/web_ci_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Playwright Tests

on:
push:
branches: [main, alpha]
deployment_status:

jobs:
test:
timeout-minutes: 20
Expand All @@ -19,9 +20,8 @@ jobs:
shell: bash
env:
STAGE: ${{ github.ref_name }}
run: |
if [[ $STAGE == "alpha" ]]; then BASE_URI="https://alpha.deadrop.io"; else BASE_URI="https://deadrop.io"; fi
CI=true TEST_URI=$BASE_URI yarn web playwright test --trace on
BASE_URL: ${{ github.event.deployment_status.target_url }}
run: CI=true TEST_URI=$BASE_URL yarn web playwright test --trace on
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down

0 comments on commit e0edbf4

Please sign in to comment.