on: push: branches: - main schedule: - cron: '0 * * * *' # rebuild every hour to refresh feeds jobs: deploy: runs-on: ubuntu-latest container: volumes: - /var/www/bubo:/var/www/bubo steps: - uses: actions/checkout@v4 - name: Install dependencies run: npm install - name: Build Bubo run: npm run build:bubo - name: Deploy to web root run: | apt-get update && apt-get install -y rsync rsync -avz --delete --exclude='.git' --exclude='.forgejo' \ ./public/ /var/www/bubo/