From 5fac5fa2cd95c5b2278e07e103e06640036d2ac6 Mon Sep 17 00:00:00 2001 From: alexbainter Date: Mon, 13 May 2024 12:20:56 -0500 Subject: [PATCH] Add workflow to notify portmap of content updates --- .github/workflows/notify-portmap.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/notify-portmap.yml diff --git a/.github/workflows/notify-portmap.yml b/.github/workflows/notify-portmap.yml new file mode 100644 index 0000000..9f5cfd0 --- /dev/null +++ b/.github/workflows/notify-portmap.yml @@ -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