Skip to content

auto: update IOCs and blocklists (2026-06-03 22:42 UTC) #348

auto: update IOCs and blocklists (2026-06-03 22:42 UTC)

auto: update IOCs and blocklists (2026-06-03 22:42 UTC) #348

Workflow file for this run

name: Deploy Dashboard to GitHub Pages
on:
push:
branches: [main]
paths:
- 'web/**'
- 'blocklists/**'
- 'iocs/**'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false
- name: Prepare Pages content
run: |
# CNAME for custom domain
echo "aptwatch.org" > web/CNAME
# Copy logo assets into web/
cp aptwatch-logo.svg web/ 2>/dev/null || true
cp aptwatch-logo.png web/ 2>/dev/null || true
# Copy blocklists for direct download
mkdir -p web/blocklists
cp blocklists/* web/blocklists/ 2>/dev/null || true
# Copy IOC files
mkdir -p web/iocs
cp iocs/*.txt web/iocs/ 2>/dev/null || true
# Copy Suricata rules
mkdir -p web/iocs/suricata
cp iocs/suricata/*.rules web/iocs/suricata/ 2>/dev/null || true
# Check for web database
if [ -f web/apt_intel_web.db ]; then
echo "Web database: $(du -h web/apt_intel_web.db | cut -f1)"
else
echo "::warning::No web database found. Dashboard will prompt for manual upload."
fi
# feeds.html is maintained manually in web/feeds.html (Phase 3 unified design).
# No auto-generation here — the committed file is what gets deployed.
echo "Pages content:"
find web/ -type f | head -30
- name: Setup Pages
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4
- name: Upload artifact
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
path: 'web/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4