From 9ae814ab332bef08fe5a7f6e7748bd79da187a94 Mon Sep 17 00:00:00 2001 From: Kim Pepper Date: Tue, 16 Apr 2024 10:50:24 +1000 Subject: [PATCH] Adds an input param for runs-on --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c7300f7..19c6dbc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,6 +25,10 @@ on: default: make deploy type: string description: The post deploy commands to run on the environment. + runs-on: + default: ubuntu-latest + type: string + description: The type of machine to run the job on. secrets: skpr_username: required: true @@ -45,7 +49,7 @@ env: jobs: deploy: - runs-on: ubuntu-latest + runs-on: ${{ inputs.runs-on }} environment: name: ${{ inputs.env }} url: ${{ steps.skpr-info.outputs.url }}