Skip to content

Commit 9a50b89

Browse files
feat: add sleep
1 parent e1d2376 commit 9a50b89

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/terraform-deploy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ jobs:
4646
TF_VAR_aws_secret_key: ${{ github.event.inputs.aws_secret_access_key }}
4747
TF_VAR_aws_session_token: ${{ github.event.inputs.aws_session_token }}
4848

49+
- name: Wait for instance to be ready
50+
run: |
51+
echo "Waiting for instance to be ready..."
52+
sleep 60
53+
echo "Instance should be ready now"
54+
4955
- name: Copy Docker Compose File From Repo to VM Host
5056
uses: appleboy/scp-action@v0.1.7
5157
with:

0 commit comments

Comments
 (0)