Skip to content

Commit

Permalink
Merge pull request #65 from dtinit/alex-portmap-dispatch
Browse files Browse the repository at this point in the history
Add workflow to notify Portmap of content updates
  • Loading branch information
alexbainter committed May 13, 2024
2 parents b4905d9 + 5fac5fa commit 0ab06c7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/notify-portmap.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Notify Portmap

on:
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
notify-portmap:
runs-on: ubuntu-latest
steps:
- name: Send repository_dispatch
uses: peter-evans/repository_dispatch@v3
with:
# GitHub personal access token.
# See action description for instructions and requirements.
token: ${{ secrets.PORTMAP_REPOSITORY_DISPATCH_PAT }}
repsoitory: dtinit/portmap
event-type: content_update

0 comments on commit 0ab06c7

Please sign in to comment.