Skip to content

Commit

Permalink
fix: deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Nov 15, 2024
1 parent 0a06726 commit 7caa73e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .deploy/rds.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"databaseName": "REPLACE_IN_PIPELINE",
"schemaName": "REPLACE_IN_PIPELINE",
"engine": "REPLACE_IN_PIPELINE",
"nodeType": "S_XSMALL"
}
28 changes: 28 additions & 0 deletions .deploy/service.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"type": "rolling",
"targetPlatform": "REPLACE_IN_PIPELINE",
"applicationData": {
"artifactUrl": "REPLACE_IN_PIPELINE",
"version": "REPLACE_IN_PIPELINE"
},
"runtime": {
"type": "REPLACE_IN_PIPELINE",
"pythonVersion": "REPLACE_IN_PIPELINE"
},
"profiles": [
{ "name": "loadBalancer", "healthCheckPath": "/health-check/" },
{ "name": "healthcheck", "interval": 30 },
{
"name": "environmentVariables",
"variables": {
"APP_ID": "REPLACE_IN_PIPELINE",
"APP_VERSION": "REPLACE_IN_PIPELINE",
"DJANGO_SETTINGS_MODULE": "REPLACE_IN_PIPELINE",
"DEBUG": "REPLACE_IN_PIPELINE",
"SERVICE_PROTOCOL": "REPLACE_IN_PIPELINE",
"SERVICE_PORT": "REPLACE_IN_PIPELINE",
"MAIL_ENABLED": "REPLACE_IN_PIPELINE"
}
}
]
}
5 changes: 4 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
[
"@semantic-release/github",
{
"assets": [{ "path": "build.zip", "label": "Build files" }]
"assets": [
{ "path": "build.zip", "label": "Build files" },
{ "path": "deploy.zip", "label": "Deploy files" }
]
}
]
]
Expand Down

0 comments on commit 7caa73e

Please sign in to comment.