👷 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
|
||||
run: yarn build
|
||||
|
||||
- name: Deploy and Reload Caddy
|
||||
uses: appleboy/ssh-action@master
|
||||
- name: Rsync files
|
||||
uses: burnett01/rsync-deployments@5.2
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USER }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
sh deploy.sh
|
||||
switches: -avzr --delete
|
||||
path: dist/
|
||||
remote_path: /var/www/kjelsrud.dev/
|
||||
remote_host: ${{ secrets.HOST }}
|
||||
remote_user: ${{ secrets.USER }}
|
||||
remote_key: ${{ secrets.KEY }}
|
||||
remote_port: ${{ secrets.PORT }}
|
||||
|
|
Loading…
Add table
Reference in a new issue