Skip to content

Commit

Permalink
docs: model deployment and jenv config
Browse files Browse the repository at this point in the history
  • Loading branch information
MBenediktF committed Aug 16, 2024
1 parent 065a738 commit 69aa637
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@

## How to deploy a model

- This is not finished yet!
- Your github token must be configured to allow repo and workflow access
- Run `make start_mnodel_deployment`to start the workflow
- Check the workflow status in github action for approval
- Run `make deploy_to_development`to start the workflow (no protection rules)
- Run `make deploy_to_production`to start the workflow (approval required, deployment is only allowed from `main`)
- Check the workflow status in github actions

### How to configure a new environment

- Open the environment configuration
- Click `New Environment`
- Enter a name (lower key preferred)
- Configure potection rules
- Set the environment secrets `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`
- Set the environment variables `ÀWS_DEFAULT_REGION` and `BUCKET_NAME` to configure the S3 connection

0 comments on commit 69aa637

Please sign in to comment.