Skip to content

Deployment

Deployment #24

Workflow file for this run

name: Deployment
on:
workflow_dispatch:
inputs:
version:
description: 'Version in semantic versioning format (i.e. 1.0.2)'
required: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Runs the deployment workflow in Bitrise
run: |
curl https://app.bitrise.io/app/${{ secrets.BITRISE_APP_ID }}/build/start.json --data '{"hook_info":{"type":"bitrise","build_trigger_token":"${{ secrets.BITRISE_BUILD_TRIGGER_TOKEN }}"},"build_params":{"branch":"${{ github.ref_name }}","workflow_id":"deployment","environments":[{"mapped_to":"NEW_VERSION","value":"${{ github.event.inputs.version }}","is_expand":true}]},"triggered_by":"curl"}'