We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a5fe08 commit 30f905aCopy full SHA for 30f905a
.github/workflows/dokku-dev-deploy.yml
@@ -21,10 +21,16 @@ jobs:
21
with:
22
fetch-depth: 0
23
24
- - name: Push to dokku
+ - name: Push to dokku (PR open)
25
uses: dokku/github-action@master
26
27
git_remote_url: 'ssh://[email protected]:22/osscar-quantum-mechanics'
28
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
29
- if: github.event_name == 'pull_request'
+ if: ${{ github.event_name == 'pull_request' && github.event.action == 'opened' }}
30
31
+ - name: Push to dokku (PR synchronize)
32
+ uses: dokku/github-action@master
33
+ with:
34
+ git_remote_url: 'ssh://[email protected]:22/osscar-quantum-mechanics'
35
+ ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
36
+ if: ${{ github.event_name == 'pull_request' && github.event.action == 'synchronize' }}
0 commit comments