ci #7538
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |