Add files via upload #368
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # /* AVIS_COORD: AVIS://GITHUB/WORKFLOW/XML_GEN/1.0 */ | |
| # /* ROLE: Automated XML Sentinel Dispatch */ | |
| name: "JOE-TRON :: XML-SITEMAP-DISPATCH" | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| - 'sitemap.xml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| map_repository: | |
| name: "JOE-TRON :: Recursive XML Mapping" | |
| runs-on: ubuntu-latest | |
| if: github.actor != 'github-actions[bot]' | |
| steps: | |
| - name: "SENTINEL :: Checkout Authority" | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: "SENTINEL :: Execute fire-site.sh" | |
| run: | | |
| chmod +x ./sitemap.sh | |
| ./sitemap.sh | |
| - name: "SENTINEL :: Commit XML Artifact" | |
| run: | | |
| git config --global user.name "Nexus-Bot" | |
| git config --global user.email "bot@cvbgod.sentinel" | |
| # Stage the map | |
| git add sitemap.xml | |
| # Check for changes | |
| if ! git diff --staged --quiet; then | |
| git commit -m "sitemap.xml updated [recursive map] [skip ci]" | |
| # Clean workspace for rebase | |
| git stash --include-untracked || true | |
| # Synchronize with main | |
| git pull --rebase origin main | |
| # Final Dispatch | |
| git push origin main | |
| echo "wm_macro_ack: XML dispatched to Audit Surface." | |
| else | |
| echo "AVIS: No structural shifts detected. Pulse steady." | |
| fi |