Push-to-deploy (OFF by default): vanguard-deploy applies only changed parts with a live-stream guard for MediaMTX, rollback, pending timer; dumpd /deploy webhook gated by DEPLOY_AUTO; configure --apply; switchToClone.sh; draft CI workflow; committed plugin zip
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
18
.gitea/draft-workflows/ci.yml
Normal file
18
.gitea/draft-workflows/ci.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
# DRAFT — inert while it lives in .gitea/draft-workflows/. Activate with: git mv .gitea/draft-workflows/ci.yml .gitea/workflows/ci.yml
|
||||
# Checks every push; builds + tests the Jellyfin plugin. Deploying is NOT done here (the runner must not touch
|
||||
# the host): the Gitea push webhook -> dumpd /deploy -> vanguard-deploy handles that, when DEPLOY_AUTO=1.
|
||||
name: ci
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: sudo apt-get update -q && sudo apt-get install -y -q python3 python3-yaml nodejs npm ffmpeg jq
|
||||
- run: bash check.sh
|
||||
plugin:
|
||||
runs-on: dotnet
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cd jellyfin-plugin-vanguard && dotnet test Jellyfin.Plugin.Vanguard.Tests --nologo -v q
|
||||
- run: cd jellyfin-plugin-vanguard && dotnet build Jellyfin.Plugin.Vanguard -c Release --nologo -v q
|
||||
Reference in New Issue
Block a user