bubo-rss/.forgejo/workflows/deploy.yml
gablaxy b83efcbfde
Some checks failed
/ deploy (push) Failing after 15s
rebuild
2026-02-25 15:24:35 +01:00

29 lines
No EOL
606 B
YAML

on:
push:
branches:
- main
schedule:
- cron: '0 * * * *' # every hour
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: Install rsync
run: apt-get update && apt-get install -y rsync
- name: Build Bubo
run: npm run build:bubo
- name: Deploy to web root
run: |
rsync -avz --delete --exclude='.git' --exclude='.forgejo' \
./public/ /var/www/bubo/