Skip to content

ci: fix

ci: fix #41

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: 📂 Deploy via rsync
uses: burnett01/rsync-deployments@v8
with:
switches: -avzr --delete
path: dist/
remote_path: /home/sites/site100026635/web/matthias-andrasch.eu/
remote_host: ${{ secrets.RSYNC_HOST }}
remote_user: ${{ secrets.RSYNC_USER }}
remote_key: ${{ secrets.RSYNC_SSH_KEY }}