Skip to content

Update fire-unzip.yml #6

Update fire-unzip.yml

Update fire-unzip.yml #6

Workflow file for this run

- name: THE ZIPPER STRIKE

Check failure on line 1 in .github/workflows/fire-unzip.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/fire-unzip.yml

Invalid workflow file

(Line: 1, Col: 7): A sequence was not expected
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