-
Notifications
You must be signed in to change notification settings - Fork 6
22 lines (22 loc) · 938 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: ci
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: [deployment_status]
jobs:
e2e-no:
# only runs this job on successful deploy to main-site
if: github.event.deployment_status.state == 'success' && contains(github.event.deployment_status.target_url, 'main-site')
uses: ./.github/workflows/e2e.yml
with:
group: "GiEffektivt e2e tests"
base-url: ${{ github.event.deployment_status.target_url }}
config-file: "cypress-no.config.ts"
secrets: inherit
e2e-se:
# only runs this job on successful deploy to ge-effektivt
if: github.event.deployment_status.state == 'success' && contains(github.event.deployment_status.target_url, 'ge-effektivt')
uses: ./.github/workflows/e2e.yml
with:
group: "GeEffektivt e2e tests"
base-url: ${{ github.event.deployment_status.target_url }}
config-file: "cypress-se.config.ts"
secrets: inherit