From 3b65f39d41e6eb91779a5af56ccd3647253a38a7 Mon Sep 17 00:00:00 2001 From: OriginalByteMe Date: Thu, 21 Dec 2023 21:32:50 +0800 Subject: [PATCH] Update deployment configuration --- .github/workflows/ci-cd.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 816e1f6..49d7de2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -32,16 +32,14 @@ jobs: id: vars run: | if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then - echo "::set-output name=environment::prod" + echo "::set-output name=environment::main" else echo "::set-output name=environment::dev" fi - name: Deploy cutout generator job run: | - cd app modal deploy --env=${{ steps.vars.outputs.environment }} app.cutout_handler::cutout_handler_stub - name: Deploy s3_handler job run: | - cd app/s3_handler modal deploy --env=${{ steps.vars.outputs.environment }} app.s3_handler.app \ No newline at end of file