Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,23 @@ jobs:
fi
echo "All required jobs passed"

trigger-mirror:
name: Trigger docs mirror refresh
# Nudges just-buildit.github.io's mirror.yml (repository_dispatch:
# mirror) to pull the fresh get-jb.sh/just-runit immediately instead of
# waiting for its daily cron. Never blocks anything else in this repo —
# not a required check, doesn't gate merges.
needs: ci-passed
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.ci-passed.result == 'success'
steps:
- name: Dispatch mirror refresh
env:
GH_TOKEN: ${{ secrets.MIRROR_DISPATCH_TOKEN }}
run: |
gh api repos/just-buildit/just-buildit.github.io/dispatches \
-f event_type=mirror

deploy-docs:
needs: [coverage, lint]
runs-on: ubuntu-latest
Expand Down
Loading