parent
2bd4650f22
commit
921c30d538
1 changed files with 2 additions and 5 deletions
|
|
@ -5,9 +5,6 @@ jobs:
|
|||
steps:
|
||||
- uses: http://github.com/actions/checkout@v4
|
||||
- uses: http://github.com/oven-sh/setup-bun@v2
|
||||
- name: Install Rsync
|
||||
run: choco install rsync -y
|
||||
shell: powershell
|
||||
- run: bun install
|
||||
shell: powershell
|
||||
- run: bun run prod
|
||||
|
|
@ -21,6 +18,6 @@ jobs:
|
|||
#- name: Adding Known Hosts
|
||||
# run: ssh-keyscan -H vps.sad.ovh | Out-File -Append $env:USERPROFILE\.ssh\known_hosts
|
||||
# shell: powershell
|
||||
- name: Deploy with rsync
|
||||
run: rsync -avz ./dist/ ${{ secrets.SSH_USER }}@vps.sad.ovh:/var/www/sad.ovh
|
||||
- name: Deploy with scp
|
||||
run: scp -r ./dist/ ${{ secrets.SSH_USER }}@vps.sad.ovh:/var/www/sad.ovh
|
||||
shell: powershell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue