Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Demo and fix backend path #491

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/build-deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ on:
type: choice
options:
- dev
- demo
storage-account-name:
description: 'After the demo env gets created, copy its blob storage name here'
required: false

permissions:
id-token: write
Expand Down Expand Up @@ -57,11 +53,7 @@ jobs:
- name: Upload to Azure blob storage
shell: bash
run: |
if [ -z "${{ inputs.storage-account-name }}" ]; then
az storage blob upload-batch --account-name reportvisionfrontend${{ inputs.deploy-env }} -d '$web' -s frontend-deploy/ --overwrite
else
az storage blob upload-batch --account-name ${{ inputs.storage-account-name }} -d '$web' -s frontend-deploy/ --overwrite
fi
az storage blob upload-batch --account-name reportvisionfrontend${{ inputs.deploy-env }} -d '$web' -s frontend-deploy/ --overwrite
- name: Azure logout
shell: bash
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/build-deploy-middleware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
type: choice
options:
- dev
- demo
middleware-docker-tag:
description: 'This is optional if you would like to deploy an already published Middleware-API image'
required: false
Expand Down Expand Up @@ -54,8 +53,8 @@ jobs:
docker-pw: ${{ secrets.GITHUB_TOKEN }}
docker-username: ${{ github.actor }}
docker-tag: ${{ steps.set_tag.outputs.docker_tag }}
dockerfile-path: ./Backend/Dockerfile
docker-context-path: ./Backend/
dockerfile-path: ./backend/Dockerfile
docker-context-path: ./backend/
api-name: middleware

deploy-middleware:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-deploy-ocr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
type: choice
options:
- dev
- demo
ocr-docker-tag:
description: 'This is optional if you would like to deploy an already published OCR-API image'
required: false
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
type: choice
options:
- dev
- demo
ocr-docker-tag:
description: 'This is optional if you would like to deploy an already published OCR-API image'
required: false
Expand Down
Loading