👷 update CI build again..
Signed-off-by: Sindre Kjelsrud <kjelsrudsindre@gmail.com>
This commit is contained in:
parent
0a9886b9c8
commit
9f1b60934a
1 changed files with 9 additions and 8 deletions
17
.github/workflows/deploy.yml
vendored
17
.github/workflows/deploy.yml
vendored
|
@ -27,12 +27,13 @@ jobs:
|
||||||
- name: Build Astro website
|
- name: Build Astro website
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Deploy and Reload Caddy
|
- name: Rsync files
|
||||||
uses: appleboy/ssh-action@master
|
uses: burnett01/rsync-deployments@5.2
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
switches: -avzr --delete
|
||||||
username: ${{ secrets.USER }}
|
path: dist/
|
||||||
key: ${{ secrets.KEY }}
|
remote_path: /var/www/kjelsrud.dev/
|
||||||
port: ${{ secrets.PORT }}
|
remote_host: ${{ secrets.HOST }}
|
||||||
script: |
|
remote_user: ${{ secrets.USER }}
|
||||||
sh deploy.sh
|
remote_key: ${{ secrets.KEY }}
|
||||||
|
remote_port: ${{ secrets.PORT }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue