Skip to content

Commit

Permalink
chore: Update 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 54b0532 commit aad475b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/trigger-teamcity-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,18 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Trigger TeamCity Build for Bloom Reader Alpha
uses: JetBrains/teamcity-github-action@v1
uses: fjogeleit/http-request-action@v1
with:
server: ${{ secrets.TEAMCITY_URL }}
token: ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}
build-conf-id: 'Bloom_BloomReader_BloomReaderMasterAlphaContinuousPublish'
url: '${{ secrets.TEAMCITY_URL }}/app/rest/buildQueue'
method: 'POST'
contentType: 'application/json'
customHeaders: '{"Authorization": "Bearer ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}"}'
data: '{"buildType": {"id": "Bloom_BloomReader_BloomReaderMasterAlphaContinuousPublish"}}'
- name: Trigger TeamCity Build for Bloom Desktop Alpha
uses: JetBrains/teamcity-github-action@v1
uses: fjogeleit/http-request-action@v1
with:
server: ${{ secrets.TEAMCITY_URL }}
token: ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}
build-conf-id: 'bt222'
url: '${{ secrets.TEAMCITY_URL }}/app/rest/buildQueue'
method: 'POST'
contentType: 'application/json'
customHeaders: '{"Authorization": "Bearer ${{ secrets.TEAMCITY_TOKEN_RUN_BUILD }}"}'
data: '{"buildType": {"id": "bt222"}}'

0 comments on commit aad475b

Please sign in to comment.