Skip to content

Commit

Permalink
Merge pull request #29 from openworld-community/test-repository-dispa…
Browse files Browse the repository at this point in the history
…tchn

Test repository dispatch
  • Loading branch information
kosmos-954 authored Jul 8, 2023
2 parents 12415f7 + 9fd0e0f commit c4b8a8d
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/.gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,7 @@ jobs:

- name: Trigger repository dispatch event
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{secrets.PAT_TOKEN_REP }}"\
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/openworld-community/event-manager-telegram-bot/dispatches \
-d '{"event_type":"frontend_deploy","client_payload":{"env":"${{ github.ref_name }}"}}'
curl -L -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{secrets.PAT_TOKEN_REP }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/openworld-community/event-manager-telegram-bot/dispatches -d '{"event_type":"frontend_deploy","client_payload":{"env":"${{ github.ref_name }}"}}'
if: github.ref_name == 'main' || github.ref_name == 'prerelease'

- name: Debug
Expand Down

0 comments on commit c4b8a8d

Please sign in to comment.