systems-obscure/.forgejo/workflows/deploy.yaml
thomasabishop 1cd575cfdb
Some checks failed
Deploy site / deploy (push) Failing after 1m16s
infra: create Forgejo deployment action using Docker
2025-07-08 15:56:42 +01:00

17 lines
383 B
YAML

name: Deploy site
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
container: node:18
steps:
- uses: actions/checkout@v3
- run: npm install
- run: npm run build:posts
- run: npm run build
- run: |
cp -r dist/* /var/www/systemsobscure.blog/
chown -R www-data:www-data /var/www/systemsobscure.blog/