We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dab2fe6 + e3d186b commit 0fe29d1Copy full SHA for 0fe29d1
.github/workflows/npm-publish.yml
@@ -36,3 +36,18 @@ jobs:
36
npm publish --tag next
37
env:
38
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
39
+
40
+ - name: Send Dispatch Event to CDN Repo
41
+ run: |
42
+ curl -X POST \
43
+ -H "Authorization: token ${{ secrets.CDN_MAPTILER_TOKEN }}" \
44
+ -H "Accept: application/vnd.github.v3+json" \
45
+ https://api.github.com/repos/maptiler/cdn.maptiler.com/dispatches \
46
+ -d '{ \
47
+ "event_type": "repo_release", \
48
+ "client_payload": { \
49
+ "repo": "${{ github.repository }}", \
50
+ "tag": "${{ github.event.release.tag_name }}", \
51
+ "build_dir": "build" \
52
+ }
53
+ }'
0 commit comments