Fix cypress checkout and use github actions environments (#8790)

* Fix cypress checkout and use github actions environments

* Harden github token for cypress.yaml

* Allow writing status checks
This commit is contained in:
Michael Telatynski
2022-06-08 16:00:47 +01:00
committed by GitHub
parent 5167521ea4
commit f53207a4fe
3 changed files with 36 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ jobs:
deploy:
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest
environment: Netlify
steps:
- name: 📝 Create Deployment
uses: bobheadxi/deployments@v1