Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisassad committed Sep 17, 2024
1 parent 4a5faa1 commit 5e8b6e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ jobs:
heroku_app_name: ${{ env.HEROKU_APP_NAME }}
heroku_email: ${{secrets.HEROKU_EMAIL}}
usedocker: true
dontautocreate: true
dontautocreate: true
docker_heroku_process_type: web, consumer, evm-ce, knock, message-relayer
14 changes: 6 additions & 8 deletions packages/commonwealth/scripts/docker-start.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
# start.sh

if [[ $DYNO == "web"* ]]; then
if [ "${DYNO}" == "web"* ]; then
NODE_ENV=production node --import=extensionless/register --enable-source-maps ./build/server.js
elif [[ $DYNO == "consumer"* ]]; then
elif [ "${DYNO}" == "consumer"* ]; then
node --import=extensionless/register build/server/workers/commonwealthConsumer/commonwealthConsumer.js
elif [[ $DYNO == "evm-ce"* ]]; then
elif [ "${DYNO}" == "evm-ce"* ]; then
node --import=extensionless/register build/server/workers/evmChainEvents/startEvmPolling.js
elif [[ $DYNO == "knock"* ]]; then
elif [ "${DYNO}" == "knock"* ]; then
node --import=extensionless/register build/server/workers/knock/knockWorker.js
elif [[ $DYNO == "message-relayer"* ]]; then
elif [ "${DYNO}" == "message-relayer"* ]; then
node --import=extensionless/register build/server/workers/messageRelayer/messageRelayer.js
elif [[ $DYNO == "release"* ]]; then
elif [ "${DYNO}" == "release"* ]; then
node --import=extensionless/register build/server/scripts/releasePhaseEnvCheck.js && \
npx sequelize-cli db:migrate --config server/sequelize.json && \
node --import=extensionless/register build/server/scripts/purgeCloudflareCache.js
Expand Down

0 comments on commit 5e8b6e7

Please sign in to comment.