Refactor #9536
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: wallet-mobile-gitlab | |
on: push | |
jobs: | |
Build_Request: | |
name: Request building the app | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get branch name | |
run: echo "branch_name=$(echo ${GITHUB_REF_NAME})" >> $GITHUB_OUTPUT | |
id: get_branch_name | |
- name: Trigger GitLab CI | |
run: | | |
echo Branch name is ${{ steps.get_branch_name.outputs.branch_name }} | |
curl --request POST --form token=${{ secrets.GITLAB_TOKEN }} --form ref=main --form "variables[BUILD_BRANCH]=${{ steps.get_branch_name.outputs.branch_name }}" ${{ secrets.GITLAB_API_PIPELINE }} > response.json |