Skip to content

Commit

Permalink
trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
LiatSchulz committed Feb 5, 2024
1 parent 5336776 commit 6335ed4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/liat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
run: |
AMI_ID=ami-056d2deb35634ac41 # AmazonLinux2 Mate
ISNTANCE_TYPE=t3.large
INSTANCE_ID=$(aws ec2 run-instances --image-id $AMI_ID --instance-type $ISNTANCE_TYPE --query 'Instances[0].InstanceId' --output text)
SUBNET_ID=subnet-08f168b88d687e3ae # PhenoVPC-PublicSubnet1
INSTANCE_ID=$(aws ec2 run-instances --image-id $AMI_ID --instance-type $ISNTANCE_TYPE --subnet-id $SUBNET_ID --query 'Instances[0].InstanceId' --output text)
echo "::set-output name=INSTANCE_ID::$INSTANCE_ID"
aws ec2 wait instance-running --instance-ids $INSTANCE_ID
PUBLIC_IP=$(aws ec2 describe-instances --instance-ids $INSTANCE_ID --query 'Reservations[0].Instances[0].PublicIpAddress' --output text)
Expand Down

0 comments on commit 6335ed4

Please sign in to comment.