Skip to content

Bootstrap Actions Workflow Dispatch #1

Bootstrap Actions Workflow Dispatch

Bootstrap Actions Workflow Dispatch #1

# Test workflow
#
name: Bootstrap Actions Workflow Dispatch
on:
workflow_dispatch:
inputs:
options:
type: choice
description: 'How many minutes to run for'
required: true
default: '10'
options:
- '1'
- '10'
- '30'
jobs:
deploy:
runs-on: [self-hosted, Linux, X64, hmpps-github-actions-runner]
steps:
- run: echo "Running a script for ${{ github.event.inputs.options }} 10 minutes"
- name: Checkout code
uses: actions/checkout@v4
- id: get_sc_data
name: Run a script
uses: ./.github/actions/run-script
env:
options: ${{ github.event.inputs.options }}