Skip to content

Commit

Permalink
Test change (#1432)
Browse files Browse the repository at this point in the history
* Test change

* Update workflow to run on deployment success
  • Loading branch information
brianlovin authored Apr 28, 2021
1 parent 41bd215 commit 6e47594
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
- name: Run Cypress 🌲
uses: cypress-io/github-action@v2
with:
record: true
env:
CYPRESS_BASE_URL: ${{ github.event.deployment_status.target_url }}
name: Cypress
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows
on: [deployment_status]
jobs:
e2e:
# only runs this job on successful deploy
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v2
- name: Run Cypress 🌲
uses: cypress-io/github-action@v2
env:
CYPRESS_BASE_URL: ${{ github.event.deployment_status.target_url }}

1 comment on commit 6e47594

@vercel
Copy link

@vercel vercel bot commented on 6e47594 Apr 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.