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