Skip to content

Commit d327b13

Browse files
authored
Update build-php-windows.yml
1 parent e08577c commit d327b13

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

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

+8-10
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,22 @@ jobs:
104104
echo ("PHPVER=" + $PHPVER) >> $env:GITHUB_ENV
105105
106106
- name: "Deploy cli to Zhamao Server"
107-
uses: Creepios/sftp-action@v1.0.5
107+
uses: garygrossgarten/github-action-scp@release
108108
with:
109+
local: "dist/php-${{ env.PHPVER }}-cli-win.zip"
110+
remote: ${{ steps.process-env.outputs.DEPLOY_TARGET }}/
109111
host: ${{ secrets.DEPLOY_SERVER_HOST }}
110-
port: ${{ secrets.DEPLOY_SERVER_PORT }}
111112
username: ${{ secrets.DEPLOY_SERVER_USER }}
112113
privateKey: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
113-
localPath: "dist/php-${{ env.PHPVER }}-cli-win.zip"
114-
remotePath: ${{ steps.process-env.outputs.DEPLOY_TARGET }}/
115-
116-
- name: "Deploy micro to Zhamao Server"
117-
uses: Creepios/[email protected]
114+
115+
- name: "Deploy cli to Zhamao Server"
116+
uses: garygrossgarten/github-action-scp@release
118117
with:
118+
local: "dist/php-${{ env.PHPVER }}-micro-win.zip"
119+
remote: ${{ steps.process-env.outputs.DEPLOY_TARGET }}/
119120
host: ${{ secrets.DEPLOY_SERVER_HOST }}
120-
port: ${{ secrets.DEPLOY_SERVER_PORT }}
121121
username: ${{ secrets.DEPLOY_SERVER_USER }}
122122
privateKey: ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
123-
localPath: "dist/php-${{ env.PHPVER }}-micro-win.zip"
124-
remotePath: "${{ steps.process-env.outputs.DEPLOY_TARGET }}"
125123

126124
- name: "Upload Artifact"
127125
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)