Skip to content

Commit c3583b1

Browse files
committed
Update deploy.yml
1 parent 8f4b1cc commit c3583b1

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ jobs:
3232
run: npm run build
3333

3434
- name: Deploy app
35-
uses: easingthemes/ssh-deploy@main
36-
env:
37-
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
38-
ARGS: "-rltgoDzvO --delete-before"
39-
SOURCE: "dist/app/"
40-
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
41-
REMOTE_USER: ${{ secrets.REMOTE_USER }}
42-
TARGET: ${{ secrets.REMOTE_TARGET }}
35+
uses: garygrossgarten/github-action-scp@release
36+
with:
37+
local: dist/app/
38+
remote: ${{ secrets.REMOTE_TARGET }}
39+
host: ${{ secrets.REMOTE_HOST }}
40+
username: ${{ secrets.REMOTE_USER }}

0 commit comments

Comments
 (0)