Skip to content

Commit 6d6cb1b

Browse files
committed
更换deploy upload action
1 parent 2927f48 commit 6d6cb1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
npm run build
2828
2929
- name: Deploy
30-
uses: garygrossgarten/[email protected]
30+
uses: Dylan700/sftp-upload-action@latest
3131
with:
32-
local: dist/nice-blockly
33-
remote: ${{ secrets.TARGET }}
34-
host: ${{ secrets.HOST }}
32+
server: ${{ secrets.HOST }}
3533
username: ubuntu
36-
privateKey: ${{ secrets.PRIVATEKEY }}
34+
key: ${{ secrets.PRIVATEKEY }}
35+
uploads: |
36+
dist/nice-blockly => ${{ secrets.TARGET }}

0 commit comments

Comments
 (0)