Skip to content

Commit 3622be9

Browse files
authored
Create sitemap.yml
1 parent b048268 commit 3622be9

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

.github/workflows/sitemap.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# /* AVIS_COORD: AVIS://GITHUB/WORKFLOW/XML_GEN/1.0 */
2+
# /* ROLE: Automated XML Sentinel Dispatch */
3+
4+
name: "JOE-TRON :: XML-SITEMAP-DISPATCH"
5+
6+
on:
7+
push:
8+
branches: [ main ]
9+
paths-ignore:
10+
- 'sitemap.xml'
11+
workflow_dispatch:
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
map_repository:
18+
name: "JOE-TRON :: Recursive XML Mapping"
19+
runs-on: ubuntu-latest
20+
if: github.actor != 'github-actions[bot]'
21+
22+
steps:
23+
- name: "SENTINEL :: Checkout Authority"
24+
uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
27+
28+
- name: "SENTINEL :: Execute fire-site.sh"
29+
run: |
30+
chmod +x ./sitemap.sh
31+
./sitemap.sh
32+
33+
- name: "SENTINEL :: Commit XML Artifact"
34+
run: |
35+
git config --global user.name "Nexus-Bot"
36+
git config --global user.email "bot@cvbgod.sentinel"
37+
38+
# Stage the map
39+
git add sitemap.xml
40+
41+
# Check for changes
42+
if ! git diff --staged --quiet; then
43+
git commit -m "sitemap.xml updated [recursive map] [skip ci]"
44+
45+
# Clean workspace for rebase
46+
git stash --include-untracked || true
47+
48+
# Synchronize with main
49+
git pull --rebase origin main
50+
51+
# Final Dispatch
52+
git push origin main
53+
echo "wm_macro_ack: XML dispatched to Audit Surface."
54+
else
55+
echo "AVIS: No structural shifts detected. Pulse steady."
56+
fi

0 commit comments

Comments
 (0)