Merge pull request #124 from Darkod55/master #85
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: deploy | |
on: | |
push: | |
branches: [ main, staging ] | |
jobs: | |
trigger-deploy: | |
name: Trigger deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Build event type | |
id: event_type | |
run: | | |
echo "value=deploy_${GITHUB_REF##*/}" >> $GITHUB_OUTPUT | |
- name: Trigger ituob.org | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.ITUOB_CI_PAT_TOKEN }} | |
repository: ituob/ituob.org | |
event-type: ${{ steps.event_type.outputs.value }} |