skillguard/.forgejo/workflows/deploy.yml
Replit Agent 86e9fb57ab
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Set up automated deployment and configuration for SkillGuard
Configure deployment workflows, SSH settings, and environment variables for the SkillGuard project.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 0d01f99a-ea6a-447d-82fd-311715434a39
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: f938974b-4b4e-47df-8a70-53fbb1c1de6e
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/e32d2b99-1721-47dd-833c-98b372f48008/0d01f99a-ea6a-447d-82fd-311715434a39/b33cDqP
Replit-Helium-Checkpoint-Created: true
2026-06-18 15:57:14 +00:00

24 lines
586 B
YAML

name: Deploy to Production
on:
push:
branches:
- main
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Code aktualisieren
run: |
git -C /opt/skillguard fetch /opt/forgejo/data/git/repositories/avameo/skillguard.git main
git -C /opt/skillguard reset --hard FETCH_HEAD
- name: Dependencies installieren
run: npm ci --prefix /opt/skillguard
- name: Build ausführen
run: npm run build --prefix /opt/skillguard
- name: Service neu starten
run: sudo systemctl restart skillguard.service