Skip to content

Commit

Permalink
Merge pull request #22 from OriginalByteMe/21-fix-github-action-failu…
Browse files Browse the repository at this point in the history
…re-for-deploying-modal

Update deployment configuration
  • Loading branch information
OriginalByteMe authored Dec 21, 2023
2 parents b6c22db + 3b65f39 commit cb1e222
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cb1e222

Please sign in to comment.