Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Update compile.yml

* modified to pass artifact to uk-controller-pack

* POC TEST

* updated to repository-dispatch v2

* end of testing - switch to VATSIM-UK repos

* Update .github/workflows/compile.yml

Co-authored-by: Calum Towers <towers@hey.com>

* fix: only trigger ukcp workflow if release publish

---------

Co-authored-by: Calum Towers <towers@hey.com>
  • Loading branch information
chssn and CalumTowers authored Aug 2, 2023
1 parent 7e66bdd commit 9db788a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,12 @@ jobs:
with:
name: UK Sector File
path: ".bin/UK.*"

- name: Trigger Workflow in UK Controller Pack
if: github.event_name == 'release' && github.event.action == 'published'
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PUBLIC_PAT }}
repository: VATSIM-UK/uk-controller-pack
event-type: auto_airac_actions
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 comments on commit 9db788a

Please sign in to comment.