Skip to content

Commit

Permalink
Update pr-preview-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo committed Jun 8, 2022
1 parent 2d6de22 commit d8eb610
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-preview-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Run secret-dependent integration tests only after /ok-to-test approval
# Run secret-dependent integration tests only after /deploy approval
on:
repository_dispatch:
types: [ok-to-test-command]
types: [deploy-command]

name: Deploy preview environment

jobs:
# Repo owner has commented /ok-to-test on a (fork-based) pull request
# Repo owner has commented /deploy on a (fork-based) pull request
deploy-preview-environment:
runs-on: ubuntu-latest
if:
Expand All @@ -16,7 +16,7 @@ jobs:
steps:

# Check out merge commit
- name: Fork based /ok-to-test checkout
- name: Fork based /deploy checkout
uses: actions/checkout@v2
with:
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
Expand Down

0 comments on commit d8eb610

Please sign in to comment.