Skip to content

Commit

Permalink
ci: simplify deployment condition
Browse files Browse the repository at this point in the history
  • Loading branch information
KexyBiscuit committed Oct 3, 2024
1 parent c18eb3d commit 7ace85e
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.event.push && github.ref == 'refs/heads/master' }}
if: ${{ github.ref == 'refs/heads/master' }}
run: |
mkdir -p ~/.ssh
echo '${{ secrets.KNOWN_HOST_STRING }}' >> ~/.ssh/known_hosts
Expand Down

0 comments on commit 7ace85e

Please sign in to comment.