Get manga info from tracker (#1271) #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Remote Dispatch Action Initiator | |
on: | |
push: | |
branches: | |
- 'preview' | |
jobs: | |
trigger_preview_build: | |
name: Trigger preview build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/actions/wrapper-validation@v4 | |
- name: Create Tag | |
run: | | |
git tag "preview-${{ github.run_number }}" | |
git push origin "preview-${{ github.run_number }}" | |
- name: PING - Dispatch initiating repository event | |
run: | | |
curl -X POST https://api.github.com/repos/jobobby04/TachiyomiSYPreview/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
-u ${{ secrets.ACCESS_TOKEN }} \ | |
--data '{"event_type": "ping", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}' |