Skip to content

Commit 17547a8

Browse files
authored
Merge pull request #8 from Taiwrash/3-cd-setup
fix runtime settings
2 parents 5b52bf7 + 28282b8 commit 17547a8

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ jobs:
2020
- name: Execute commands via SSM
2121
id : execute_command
2222
run: |
23-
aws sts get-caller-identity
24-
aws ssm describe-instance-information --region us-east-1
23+
sudo apt update
24+
sudo apt install -y docker.io
25+
sudo systemctl enable docker
26+
sudo systemctl start docker
27+
sudo usermod -aG docker ubuntu
28+
newgrp docker
29+
2530
aws ssm send-command \
2631
--instance-ids ${{ secrets.AWS_INSTANCE_ID }} \
2732
--document-name "AWS-RunShellScript" \

0 commit comments

Comments
 (0)