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