diff --git a/.github/workflows/notify-website.yml b/.github/workflows/notify-website.yml new file mode 100644 index 0000000..eb38dcf --- /dev/null +++ b/.github/workflows/notify-website.yml @@ -0,0 +1,17 @@ +name: Notify website of new release + +on: + release: + types: [published] + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Trigger website version update + env: + GH_TOKEN: ${{ secrets.WEBSITE_DISPATCH_TOKEN }} + run: | + gh api repos/TimGels/matroskabatchflow.com/dispatches \ + --method POST \ + -f event_type=release-published