Skip to content

ci: GitHub Actions build workflow #1

ci: GitHub Actions build workflow

ci: GitHub Actions build workflow #1

Workflow file for this run

name: Deploy to Production
on:
push:
branches: [master]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build
- name: Deploy via rsync
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -avz --delete --exclude='api/'
path: dist/
remote_path: /var/www/neo-website/
remote_host: ${{ secrets.DEPLOY_HOST }}
remote_user: ${{ secrets.DEPLOY_USER }}
remote_key: ${{ secrets.DEPLOY_KEY }}