Skip to content

Commit

Permalink
remove discord bot deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
timolegros committed Oct 8, 2024
1 parent 097583c commit c77d1cf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/deploy-to-heroku.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,9 @@ docker build . --target commonwealth -t commonwealth -f Dockerfile.commonwealth_
deploy_heroku_app "./packages/commonwealth/deploy/dockerfiles" ${app_name}

snapshot_listener_app_name=snapshot-listener-staging
discord_bot_app_name=discobot-listener-staging
if [ "${app_name}" == "commonwealthapp" ]; then
snapshot_listener_app_name="snapshot-listener"
discord_bot_app_name="discobot-listener"
fi

docker build . --target snapshot-listener -t snapshot-listener -f Dockerfile.commonwealth_base
deploy_heroku_app "./packages/snapshot-listener/deploy/dockerfiles" ${snapshot_listener_app_name}

docker build . --target discord-bot -t discord-bot -f Dockerfile.commonwealth_base
deploy_heroku_app "./packages/discord-bot/deploy/dockerfiles" ${discord_bot_app_name}
deploy_heroku_app "./packages/snapshot-listener/deploy/dockerfiles" ${snapshot_listener_app_name}

0 comments on commit c77d1cf

Please sign in to comment.