@@ -104,24 +104,22 @@ jobs:
104
104
echo ("PHPVER=" + $PHPVER) >> $env:GITHUB_ENV
105
105
106
106
- name : " Deploy cli to Zhamao Server"
107
- uses : Creepios/sftp -action@v1.0.5
107
+ uses : garygrossgarten/github -action-scp@release
108
108
with :
109
+ local : " dist/php-${{ env.PHPVER }}-cli-win.zip"
110
+ remote : ${{ steps.process-env.outputs.DEPLOY_TARGET }}/
109
111
host : ${{ secrets.DEPLOY_SERVER_HOST }}
110
- port : ${{ secrets.DEPLOY_SERVER_PORT }}
111
112
username : ${{ secrets.DEPLOY_SERVER_USER }}
112
113
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
-
114
+
115
+ - name : " Deploy cli to Zhamao Server"
116
+ uses : garygrossgarten/github-action-scp@release
118
117
with :
118
+ local : " dist/php-${{ env.PHPVER }}-micro-win.zip"
119
+ remote : ${{ steps.process-env.outputs.DEPLOY_TARGET }}/
119
120
host : ${{ secrets.DEPLOY_SERVER_HOST }}
120
- port : ${{ secrets.DEPLOY_SERVER_PORT }}
121
121
username : ${{ secrets.DEPLOY_SERVER_USER }}
122
122
privateKey : ${{ secrets.DEPLOY_SERVER_SECRET_KEY }}
123
- localPath : " dist/php-${{ env.PHPVER }}-micro-win.zip"
124
- remotePath : " ${{ steps.process-env.outputs.DEPLOY_TARGET }}"
125
123
126
124
- name : " Upload Artifact"
127
125
uses : actions/upload-artifact@v4
0 commit comments