Skip to content

Commit c18eb3d

Browse files
committed
ci: fix syntax
1 parent 57755a7 commit c18eb3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/deploy.yml

+1-1
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.base_ref && github.ref == "refs/heads/master" }}
22+
if: ${{ github.event.push && 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)