Skip to content

ci

ci #7538

Workflow file for this run

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