Skip to content

Commit

Permalink
feat: CE-905 Hotfix (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk authored Jul 17, 2024
1 parent 1716ddd commit 0e22cde
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/merge-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,21 @@ jobs:
oc_token: ${{ secrets.OC_TOKEN }}
with:
environment: hotfix

promote:
name: Promote Images
needs: [deploy-hotfix, vars]
runs-on: ubuntu-22.04
permissions:
packages: write
strategy:
matrix:
package: [migrations, backend, frontend, webeoc]
timeout-minutes: 1
steps:
- uses: shrink/actions-docker-registry-tag@v4
with:
registry: ghcr.io
repository: ${{ github.repository }}/${{ matrix.package }}
target: ${{ needs.vars.outputs.pr }}
tags: hotfix
8 changes: 4 additions & 4 deletions backend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ async function bootstrap() {

process.env.TZ = "UTC";
const config = new DocumentBuilder()
.setTitle("Compliance and Enforcement - Complaint Management API")
.setDescription("The Complicance and Enforcement - Complaint Management API")
.setVersion("1.0.0")
.addTag("Compliance and Enforcement - Complaint Management")
.setTitle("NATComplaints API")
.setDescription("NATComplaints - API")
.setVersion("1.0")
.addTag("NATComplaints - Complaint Management")
.build();

const document = SwaggerModule.createDocument(app, config);
Expand Down

0 comments on commit 0e22cde

Please sign in to comment.