Skip to content

Commit 7ace85e

Browse files
committed
ci: simplify deployment condition
1 parent c18eb3d commit 7ace85e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Deploy to website
2121
shell: bash
22-
if: ${{ github.event.push && github.ref == 'refs/heads/master' }}
22+
if: ${{ github.ref == 'refs/heads/master' }}
2323
run: |
2424
mkdir -p ~/.ssh
2525
echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts

0 commit comments

Comments
 (0)