diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 57f5dc60..78b91a4c 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -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 }} diff --git a/.github/workflows/update-docs-config.yml b/.github/workflows/update-docs-config.yml index ca9329d8..a6fd90a3 100644 --- a/.github/workflows/update-docs-config.yml +++ b/.github/workflows/update-docs-config.yml @@ -11,7 +11,7 @@ jobs: update-docs-config: name: "Update Docs Config" runs-on: ubuntu-latest - if: ${{ secrets.DOCS_REPO_TOKEN != '' }} + if: github.repository == 'crazywhalecc/static-php-cli' steps: - name: "Checkout static-php-cli" uses: actions/checkout@v4