Skip to content

Commit 5abaec2

Browse files
authored
Merge pull request #13 from darjeeling/main
fix to deploy on merged main
2 parents c1f246c + cc70fb4 commit 5abaec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
deploy:
1111
runs-on: ubuntu-latest
12-
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
12+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
1313
steps:
1414
- name: executing remote ssh commands for update
1515
uses: appleboy/[email protected]

0 commit comments

Comments
 (0)