Skip to content

Commit

Permalink
Update run-ec2.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Campos <mail@ruicampos.org>
  • Loading branch information
RuiFilipeCampos authored Jan 29, 2024
1 parent aa3be39 commit 762e50c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/run-ec2.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
name: do-the-job
on:
workflow_dispatch:
inputs:
aws_region:
description: 'AWS_REGION'
required: true
default: 'eu-west-2'
type: choice
options:
- 'eu-west-2'


jobs:
start-runner:
Expand All @@ -15,7 +24,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
aws-region: inputs.aws_region
- name: Start EC2 runner
id: start-ec2-runner
uses: machulav/ec2-github-runner@v2
Expand Down

0 comments on commit 762e50c

Please sign in to comment.