feat(amp): add deterministic native workflows (#132) #67
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: Notify Docs Site | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "plugins/elixir-phoenix/skills/**" | |
| - "plugins/elixir-phoenix/agents/**" | |
| - "plugins/elixir-phoenix/.claude-plugin/plugin.json" | |
| - "docs/amp.md" | |
| - "docs/codex.md" | |
| - "docs/opencode.md" | |
| - "docs/pi.md" | |
| - "docs/runtime-support.md" | |
| - "README.md" | |
| - "CLAUDE.md" | |
| - "CHANGELOG.md" | |
| workflow_dispatch: | |
| jobs: | |
| dispatch: | |
| name: Dispatch rebuild to phxagents-site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send repository_dispatch event | |
| uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4 | |
| with: | |
| token: ${{ secrets.SITE_DISPATCH_TOKEN }} | |
| repository: oliver-kriska/phxagents-site | |
| event-type: plugin-content-changed | |
| client-payload: | | |
| { | |
| "sha": "${{ github.sha }}", | |
| "ref": "${{ github.ref }}", | |
| "message": "Plugin content changed on main (${{ github.event_name }} by ${{ github.actor }})" | |
| } |