Realizacao do merge da branch 14-listaAssistirDepois #6
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: Trigger Fork Workflow | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
trigger-workflow: | |
runs-on: ubuntu-latest | |
environment: actions | |
steps: | |
- name: Trigger workflow in forked repo | |
run: | | |
curl -X POST https://api.github.com/repos/victorleaoo/2024.1-UnB-TV-VideoService/dispatches \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
-H 'Authorization: token ${{ secrets.API_TOKEN_GITHUB }}' \ | |
--data '{"event_type": "Trigger Workflow", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}' |