Update fire-unzip.yml #6
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
| - name: THE ZIPPER STRIKE | ||
| run: | | ||
| # 1. SEAT THE SENTENEL VAULT | ||
| mkdir -p "Sentenel/becon/" | ||
| # 2. MATERIALIZE THE SCROLL (gemini-0001-scroll.zip) | ||
| if [ -f "./becon/gemini-0001-scroll.zip" ]; then | ||
| unzip -o "./becon/gemini-0001-scroll.zip" -d "Sentenel/becon/" | ||
| echo "BASH: [ACK] Scroll Materialized to Sentenel/becon/ vault." | ||
| else | ||
| echo "BASH: [NACK] SOURCE_MISSING: gemini-0001-scroll.zip not found." | ||
| # Fallback check: try root if it's not in becon/ | ||
| if [ -f "gemini-0001-scroll.zip" ]; then | ||
| unzip -o "gemini-0001-scroll.zip" -d "Sentenel/becon/" | ||
| fi | ||
| fi | ||
| - name: THE ZIPPER STRIKES BACK (SITEMAP) | ||
| run: | | ||
| # Update sitemap to include the new Sentenel path | ||
| if [ -f "./fire-site.sh" ]; then | ||
| chmod +x ./fire-site.sh | ||
| ./fire-site.sh | ||
| fi | ||
| - name: Final Server Sync | ||
| run: | | ||
| # 3. IDENTITY CONFIG | ||
| git config --global user.name "github-actions[bot]" | ||
| git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| # 4. STAGE AND DISPATCH | ||
| git add "Sentenel/becon/" | ||
| git add "sitemap.xml" | ||
| if ! git diff --staged --quiet; then | ||
| git commit -m "AVIS: Sentenel/becon/ Materialized [HAHA!]" | ||
| # REBASE strategy to ensure the portal update wins the push | ||
| git pull --rebase -X ours origin main | ||
| git push origin main | ||
| echo "wm_macro_ack: Sentenel Portal Sync Successful." | ||
| else | ||
| echo "AVIS: No state shift detected in Sentenel vault." | ||
| fi | ||