Skip to content

Commit

Permalink
ci: fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
KexyBiscuit committed Oct 3, 2024
1 parent 57755a7 commit c18eb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Deploy to website
shell: bash
if: ${{ !github.base_ref && github.ref == "refs/heads/master" }}
if: ${{ github.event.push && github.ref == 'refs/heads/master' }}
run: |
mkdir -p ~/.ssh
echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts
Expand Down

0 comments on commit c18eb3d

Please sign in to comment.