Skip to content

Commit fe56d8f

Browse files
committed
ci: update ci
1 parent a51e53e commit fe56d8f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939
run: pnpm run build
4040

4141
- name: Deploy to the server.
42-
uses: cross-the-world/scp-pipeline@master
42+
uses: appleboy/scp-[email protected]
4343
with:
4444
host: ${{ secrets.REMOTE_HOST }}
45-
user: ${{ secrets.REMOTE_NAME }}
46-
pass: ${{ secrets.REMOTE_PASS }}
47-
connect_timeout: 10s
48-
local: 'dist/*'
49-
remote: ${{ secrets.REMOTE_TARGET }}
45+
username: ${{ secrets.REMOTE_NAME }}
46+
password: ${{ secrets.REMOTE_PASS }}
47+
source: "dist/*"
48+
target: ${{ secrets.REMOTE_TARGET }}
49+
strip_components: 1

0 commit comments

Comments
 (0)