Skip to content

Commit 953863f

Browse files
authored
Update build-php-windows.yml
1 parent b3fc205 commit 953863f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build-php-windows.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -108,20 +108,20 @@ jobs:
108108
uses: garygrossgarten/github-action-scp@release
109109
with:
110110
local: "dist/php-${{ env.PHPVER }}-cli-win.zip"
111-
remote: ./
111+
remote: /home/gh-deploy/
112112
host: ${{ secrets.DEPLOY_SERVER_HOST }}
113113
username: ${{ secrets.DEPLOY_SERVER_USER }}
114-
privateKey: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
114+
password: ${{ secrets.DEPLOY_SERVER_PASSWORD }}
115115

116-
- name: "Deploy cli to Zhamao Server"
116+
- name: "Deploy micro to Zhamao Server"
117117
uses: garygrossgarten/github-action-scp@release
118118
with:
119119
local: "dist/php-${{ env.PHPVER }}-micro-win.zip"
120-
remote: /usr/share/nginx/dl.static-php.dev/static-php-cli/windows/
120+
remote: /home/gh-deploy/
121121
host: ${{ secrets.DEPLOY_SERVER_HOST }}
122122
username: ${{ secrets.DEPLOY_SERVER_USER }}
123-
privateKey: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
124-
123+
password: ${{ secrets.DEPLOY_SERVER_PASSWORD }}
124+
125125
- name: "Upload Artifact"
126126
uses: actions/upload-artifact@v4
127127
with:

0 commit comments

Comments
 (0)