Skip to content

Commit

Permalink
Poziev/change worfklow dispatch to gitlab (#501)
Browse files Browse the repository at this point in the history
* Update distribute_pushok.yml

* Update distribute_pushok.yml

* Update distribute_pushok.yml

* Update distribute_pushok.yml

* change id to prod one
  • Loading branch information
AlexPoziev authored Feb 12, 2025
1 parent 1f6624f commit 607f296
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/distribute_pushok.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ jobs:
echo "sdkVersion: ${{ env.sdkVersion }}"
- name: Trigger build workflow in ios-app repo
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.PAT_IOS_APP }}
workflow: connected_publish_workflow.yml
repo: mindbox-cloud/ios-app
ref: develop
inputs: '{"branch": "${{ github.ref_name }}", "commits": "${{ env.commits }}", "sdkVersion": "${{ env.sdkVersion }}"}'
run: |
curl --location 'https://mindbox.gitlab.yandexcloud.net/api/v4/projects/1021/trigger/pipeline' \
--form 'token="${{ secrets.GITLAB_TRIGGER_TOKEN }}"' \
--form 'ref="develop"' \
--form "variables[INPUT_BRANCH]=\"${{ github.ref_name }}\"" \
--form "variables[INPUT_COMMITS]=\"${{ env.commits }}\"" \
--form "variables[INPUT_SDK_VERSION]=\"${{ env.sdkVersion }}\""

0 comments on commit 607f296

Please sign in to comment.