Skip to content

Commit

Permalink
chore: Create trigger-teamcity-builds.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-polk authored Nov 7, 2024
1 parent 34de4cf commit 09ae494
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/trigger-teamcity-builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Trigger TeamCity Builds

on:
workflow_run:
workflows: ["Build-Test-Release"]
types:
- completed
workflow_dispatch: # Allows manual triggering

jobs:
trigger-teamcity:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Trigger TeamCity Build for Bloom Reader Alpha
uses: JetBrains/teamcity-github-action@v1
with:
server: ${{ secrets.TEAMCITY_URL }}
token: ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}
build-conf-id: 'Bloom_BloomReader_BloomReaderMasterAlphaContinuousPublish'
- name: Trigger TeamCity Build for Bloom Desktop Alpha
uses: JetBrains/teamcity-github-action@v1
with:
server: ${{ secrets.TEAMCITY_URL }}
token: ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}
build-conf-id: 'bt222'

0 comments on commit 09ae494

Please sign in to comment.