Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/notify-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Template for the project repositories: .github/workflows/notify-website.yml
# Triggers a rebuild of www.e-networld.de after every published release.
# Requires the repository secret WEBSITE_DISPATCH_TOKEN
# (fine-grained token, repository access limited to LarsLaskowski/e-networld,
# permission "Contents: Read and write").
name: Notify website

on:
release:
types: [published]

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
token: ${{ secrets.WEBSITE_DISPATCH_TOKEN }}
repository: LarsLaskowski/e-networld
event-type: release
client-payload: '{"repo": "${{ github.repository }}", "tag": "${{ github.event.release.tag_name }}"}'
Loading