docs(secop): add purpose + destination enforcement for compromised ag… #43
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: Deploy docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| trigger-org-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger org site rebuild | |
| run: | | |
| if [ -z "$GH_TOKEN" ]; then | |
| echo "DEPLOY_PAT secret not set — skipping org site rebuild" | |
| exit 0 | |
| fi | |
| gh api repos/mpcp-protocol/mpcp-protocol.github.io/dispatches \ | |
| --method POST \ | |
| -f event_type=deploy-docs | |
| env: | |
| GH_TOKEN: ${{ secrets.DEPLOY_PAT }} |