We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c1f246c + cc70fb4 commit 5abaec2Copy full SHA for 5abaec2
.github/workflows/deploy.yml
@@ -9,7 +9,7 @@ on:
9
jobs:
10
deploy:
11
runs-on: ubuntu-latest
12
- if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
13
steps:
14
- name: executing remote ssh commands for update
15
uses: appleboy/[email protected]
0 commit comments