Skip to content

Commit

Permalink
corrected order of cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
proquickly committed Nov 15, 2024
1 parent 1768c17 commit ec14191
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ resource "aws_instance" "py_server" {
mkdir /app
cd /app && git clone [email protected]:proquickly/tfgha.git
chmod +x /app/tfgha/bin/deploy
/app/tfgha/bin/deploy
# /app/tfgha/bin/deploy
cd /app/tfgha && "$HOME/.local/bin/poetry" install
cd /app/tfgha && "$HOME/.local/bin/poetry" shell && "$HOME/.local/bin/poetry" run /app/tfgha/src/tfgha/app.py
EOF
tags = {
Name = "GitHubActionsEC2"
Expand Down

0 comments on commit ec14191

Please sign in to comment.