From cfcc4481e88831ac012b3789103238d4ea46f3e9 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 15 Jul 2022 21:14:32 +0200 Subject: [PATCH] Replace CI trigger for Cypress (#2971) --- .github/workflows/cypress.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 1d771a2171..f632ae3344 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -1,5 +1,9 @@ name: Cypress -on: push +on: + push: + branches: [main] + pull_request: + branches: [main] jobs: setup: runs-on: ubuntu-latest @@ -111,7 +115,7 @@ jobs: env: CYPRESS_BASE_URL: http://localhost:8080/admin/ CYPRESS_KEYCLOAK_SERVER: http://localhost:8080 - CYPRESS_RECORD_KEY: b8f1d15e-eab8-4ee7-8e44-c6d7cd8fc0eb + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Add Cypress videos artifacts