feat(release): stage exact SHA on dev before automatic production

This commit is contained in:
Hermes
2026-11-26 17:59:05 +10:00
parent ce3c018beb
commit 8a0805a1b7
14 changed files with 528 additions and 29 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: CI
on:
push:
branches: [main, hardening]
branches: [hardening]
pull_request:
jobs:
+17
View File
@@ -0,0 +1,17 @@
name: Release dev
on:
push:
branches: [release]
jobs:
stage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Full gate and isolated dev
env:
EXPECTED_SHA: ${{ gitea.sha }}
EXPECTED_REF: ${{ gitea.ref }}
run: bash scripts/auto_stage.sh
+17
View File
@@ -0,0 +1,17 @@
name: Release production
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Full gate and protected production deploy
env:
EXPECTED_SHA: ${{ gitea.sha }}
EXPECTED_REF: ${{ gitea.ref }}
run: bash scripts/auto_prod.sh