Skip to content

Commit

Permalink
Adds an input param for runs-on
Browse files Browse the repository at this point in the history
  • Loading branch information
kimpepper committed Apr 16, 2024
1 parent 64633e6 commit 9ae814a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 9ae814a

Please sign in to comment.