fix if statement for workflow

This commit is contained in:
crazywhalecc
2024-01-07 02:10:14 +08:00
parent 8d4a375400
commit 7b2c3ac12d
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ jobs:
files: ${{ env.filename }}
- name: "Deploy to Self-Hosted Server"
if: ${{ secrets.DEPLOY_SERVER_HOST != '' }}
if: github.repository == 'crazywhalecc/static-php-cli'
uses: easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}