Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 760b0da

Browse files
committedMar 14, 2025·
update
1 parent 0f7848d commit 760b0da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,21 @@ jobs:
3535
json: '{"img": "assets/sdk/python.png", "text": "Python", "update": "${{ steps.current-time.outputs.formattedTime}}", "version": "${{steps.version.outputs.prop}}", "github": "https://github.com/blinker-iot/blinker-py", "document": "https://diandeng.tech/doc/python-support", "download": "sdk/blinker-py-${{steps.version.outputs.prop}}.zip" }'
3636

3737
- name: upload zip
38-
uses: garygrossgarten/github-action-scp@v0.5.3
38+
uses: garygrossgarten/github-action-scp@release
3939
with:
4040
local: blinker-py-${{steps.version.outputs.prop}}.zip
4141
remote: /home/ubuntu/www/diandeng.tech/sdk/blinker-py-${{steps.version.outputs.prop}}.zip
4242
host: ${{ secrets.SERVER_IP }}
4343
username: ubuntu
44-
privateKey: ${{ secrets.SSH_PRIVATE_KEY }}
44+
password: ${{ secrets.SERVER_PASSWD }}
4545
recursive: true
4646

4747
- name: upload json
48-
uses: garygrossgarten/github-action-scp@v0.5.3
48+
uses: garygrossgarten/github-action-scp@release
4949
with:
5050
local: python.json
5151
remote: /home/ubuntu/www/diandeng.tech/sdk/python.json
5252
host: ${{ secrets.SERVER_IP }}
5353
username: ubuntu
54-
privateKey: ${{ secrets.SSH_PRIVATE_KEY }}
54+
password: ${{ secrets.SERVER_PASSWD }}
5555
recursive: true

0 commit comments

Comments
 (0)
Please sign in to comment.