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
|
- uses: http://github.com/oven-sh/setup-bun@v2
|
||||||
- name: Install Rsync
|
- name: Install Rsync
|
||||||
run: choco install rsync -y
|
run: choco install rsync -y
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
- run: bun install
|
- run: bun install
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
- run: bun run prod
|
- run: bun run prod
|
||||||
shell: pwsh
|
shell: powershell
|
||||||
- name: Install SSH Key
|
- name: Install SSH Key
|
||||||
uses: http://github.com/shimataro/ssh-key-action@v2
|
uses: http://github.com/shimataro/ssh-key-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
known_hosts: 'just-a-placeholder-so-we-dont-get-errors'
|
||||||
- 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: pwsh
|
shell: powershell
|
||||||
- name: Deploy with rsync
|
- name: Deploy with rsync
|
||||||
run: rsync -avz ./dist/ ${{ secrets.SSH_USER }}@vps.sad.ovh:/var/www/sad.ovh
|
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