This repository was archived by the owner on Jun 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,18 @@ jobs:
28
28
- name : Get private IP address
29
29
id : get-private-ip
30
30
run : |
31
- aws ec2 describe-instances \
32
- --instance-id ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} \
33
- --query 'Reservations[0].Instances[0].NetworkInterfaces[?Attachment.DeviceIndex==`1`].PrivateIpAddress'
34
- echo "private-ip=$(aws ec2 describe-instances \
35
- --instance-id ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} \
36
- --query 'Reservations[0].Instances[0].NetworkInterfaces[?Attachment.DeviceIndex==`1`].PrivateIpAddress')"
37
31
echo "private-ip=$(aws ec2 describe-instances \
38
32
--instance-id ${{ steps.start-ec2-runner.outputs.ec2-instance-id }} \
39
- --query 'Reservations[0].Instances[0].NetworkInterfaces[?Attachment.DeviceIndex==`1`]. PrivateIpAddress')" \
33
+ --query 'Reservations[0].Instances[0].PrivateIpAddress')" \
40
34
>> $GITHUB_OUTPUT
41
35
run-server :
42
36
name : Start the ISTZIIO server
43
37
needs : start-runner # required to start the main job when the runner is ready
44
38
runs-on : ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
45
39
env :
46
40
SERVER_ROOT : ${{ github.workspace }}/server
47
- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
48
- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
41
+ AWS_ACCESS_KEY_ID : ${{ secrets.GROUP_2_AWS_ACCESS_KEY_ID }}
42
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.GROUP_2_AWS_SECRET_ACCESS_KEY }}
49
43
SERVER_IP : ${{ needs.start-runner.outputs.private-ip }}
50
44
steps :
51
45
- name : debug
You can’t perform that action at this time.
0 commit comments