Skip to content

Commit

Permalink
MBX-0000 ASD
Browse files Browse the repository at this point in the history
  • Loading branch information
Akylbek Utekeshev committed Nov 2, 2023
1 parent 9b5c6c6 commit 44bd98b
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions .github/workflows/trigger.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Trigger build test
name: Trigger build test5

on:
push:
Expand All @@ -10,9 +10,19 @@ jobs:
runs-on: macos-13

steps:
- name: Trigger build workflow in ios-app
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.CHILD_TOKEN }}
workflow: connected_publish_workflow.yml
repo: your-ios-app-repo
- name: Checkout repository
uses: actions/checkout@v2

- name: Get last 3 commit messages
run: |
commits=$(git log -3 --pretty=format:"%s")
echo "commits=$commits" >> $GITHUB_ENV
- name: Trigger build workflow in ios-app
uses: benc-uk/workflow-dispatch@v1
with:
token: ${{ secrets.PAT_IOS_APP }}
workflow: connected_publish_workflow.yml
repo: mindbox-cloud/ios-app
ref: ${{ github.ref }}
inputs: '{"branch": "${{ github.ref_name }}", "commits": "${{ env.commits }}"}'

0 comments on commit 44bd98b

Please sign in to comment.