This commit is contained in:
parent
1e0f451888
commit
c8df03d8e4
1 changed files with 5 additions and 5 deletions
|
|
@ -7,11 +7,11 @@ jobs:
|
|||
- uses: http://github.com/oven-sh/setup-bun@v2
|
||||
- name: Install Rsync
|
||||
run: choco install rsync -y
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
- run: bun install
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
- run: bun run prod
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
- name: Install SSH Key
|
||||
uses: http://github.com/shimataro/ssh-key-action@v2
|
||||
with:
|
||||
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
||||
- name: Adding Known Hosts
|
||||
run: ssh-keyscan -H vps.sad.ovh | Out-File -Append $env:USERPROFILE\.ssh\known_hosts
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
- name: Deploy with rsync
|
||||
run: rsync -avz ./dist/ ${{ secrets.SSH_USER }}@vps.sad.ovh:/var/www/sad.ovh
|
||||
shell: pwsh
|
||||
shell: powershell
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue