Skip to content

Commit

Permalink
Specify worker group
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvinn committed Oct 29, 2023
1 parent 2636d1f commit f6fd957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fly deploy --ha=false --strategy immediate --wait-timeout 240
sleep 10 # Wait for deploy to finish

fly scale count 1 --yes --process-group worker
fly scale memory 512
fly scale memory 512 --process-group worker

MACHINE_ID=$(fly machine list --json | jq -r -c '.[] | select(.config.metadata.fly_process_group == "worker") | .id')
STATE=$(fly machine list --json | jq -r -c '.[] | select(.config.metadata.fly_process_group == "worker") | .state')
Expand Down

0 comments on commit f6fd957

Please sign in to comment.