ci: sync central Unraid deploy runner from main
GeoIntel release gates / Trusted workflow source (pull_request) Canceled after 0s
GeoIntel release gates / Compile, test, contracts and builds (pull_request) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (pull_request) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (pull_request) Canceled after 0s
GeoIntel release gates / AI image, SBOM and container scan (pull_request) Canceled after 0s

This commit is contained in:
2026-08-28 20:09:05 +02:00
parent 4235da63ea
commit 4314b2399f
+8 -10
View File
@@ -1,10 +1,12 @@
name: Unraid autoredeploy
on:
workflow_run:
workflows: ["GeoIntel release gates"]
types: [completed]
push:
branches: [main]
paths-ignore:
- ".gitea/**"
- "docs/**"
- "**/*.md"
workflow_dispatch:
concurrency:
@@ -17,16 +19,12 @@ permissions:
jobs:
deploy:
name: Deploy geointel
if: ${{ gitea.event_name == 'workflow_dispatch' || gitea.event.workflow_run.conclusion == 'success' }}
runs-on: deploy-geointel
runs-on: unraid-deploy
timeout-minutes: 180
steps:
- name: Deploy exact validated Gitea revision
env:
DEPLOY_SHA: ${{ gitea.event.workflow_run.head_sha || gitea.sha }}
- name: Deploy exact Gitea revision
run: |
set -euo pipefail
test -n "$DEPLOY_SHA"
docker exec gitea-deploy-control \
/opt/gitea-deploy/deploy.py deploy \
"$GITHUB_REPOSITORY" "$DEPLOY_SHA"
"$GITHUB_REPOSITORY" "$GITHUB_SHA"