Skip to content

Starting a branch build of Flex for release #744

Starting a branch build of Flex for release

Starting a branch build of Flex for release #744

name: 'Start a Flex image build on a git branch'
run-name: 'Starting a branch build of Flex for ${{ github.ref_name }}'
on:
push:
branches:
- '*'
tags-ignore:
- '*'
jobs:
start-build:
name: 'starting a build for branch ${{ github.ref }}'
runs-on: 'ubuntu-latest'
steps:
- name: 'start build'
uses: octokit/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches
owner: opentrons
repo: oe-core
workflow-id: build-ot3-actions.yml
ref: ${{github.ref}}
inputs: |
{
"oe-core-ref": "${{ github.ref }}",
"monorepo-ref": "-",
"infra-stage": "stage-prod"
}