Skip to content

Commit

Permalink
ci: on release, send update_js_samples event to woosmap/developers.wo…
Browse files Browse the repository at this point in the history
…osmap.com repository
  • Loading branch information
gaelsimon committed Dec 20, 2023
1 parent ca4a330 commit 2930782
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/update-devdoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# On release, send update_js_samples event to woosmap/developers.woosmap.com repository
name: Update DevDoc
on:
release:
types: [ published ]
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch Release Event
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.WOOSMAP_GH_ACCESS_TOKEN }}
repository: woosmap/developers.woosmap.com
event-type: update_js_samples
client-payload: '{"release_name": "${{ github.event.release.tag_name }}", "source_url": "${{ github.server_url }}/${{ github.repository }}/archive/refs/tags/${{ github.event.release.tag_name }}.tar.gz"}'

0 comments on commit 2930782

Please sign in to comment.