Skip to content

Commit 05a7a88

Browse files
authored
Merge pull request #8 from darjeeling/main
fix deployment condition
2 parents 48313c3 + c3880e2 commit 05a7a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
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' }}
12+
if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
1313
steps:
1414
- name: executing remote ssh commands for update
1515
uses: appleboy/[email protected]

0 commit comments

Comments
 (0)