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 22149df commit 879e262
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/run-ec2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: do-the-job
name: run-ec2
on:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -39,6 +39,10 @@ jobs:
uses: machulav/ec2-github-runner@v2
with:
mode: start
pre-runner-script: |
sudo yum update -y && \
sudo yum install docker git libicu -y
sudo systemctl enable docker
github-token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
ec2-image-id: ${{ github.event.inputs.ami_id }}
ec2-instance-type: t3.nano
Expand Down

0 comments on commit 879e262

Please sign in to comment.