mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
fix if statement for workflow
This commit is contained in:
parent
8d4a375400
commit
7b2c3ac12d
2
.github/workflows/release-build.yml
vendored
2
.github/workflows/release-build.yml
vendored
@ -86,7 +86,7 @@ jobs:
|
|||||||
files: ${{ env.filename }}
|
files: ${{ env.filename }}
|
||||||
|
|
||||||
- name: "Deploy to Self-Hosted Server"
|
- name: "Deploy to Self-Hosted Server"
|
||||||
if: ${{ secrets.DEPLOY_SERVER_HOST != '' }}
|
if: github.repository == 'crazywhalecc/static-php-cli'
|
||||||
uses: easingthemes/ssh-deploy@main
|
uses: easingthemes/ssh-deploy@main
|
||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
|
||||||
|
|||||||
2
.github/workflows/update-docs-config.yml
vendored
2
.github/workflows/update-docs-config.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
update-docs-config:
|
update-docs-config:
|
||||||
name: "Update Docs Config"
|
name: "Update Docs Config"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ secrets.DOCS_REPO_TOKEN != '' }}
|
if: github.repository == 'crazywhalecc/static-php-cli'
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout static-php-cli"
|
- name: "Checkout static-php-cli"
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user