Fix
All checks were successful
SanStudent Multi-Project Deployment / deploy-api (push) Successful in 13s
SanStudent Multi-Project Deployment / deploy-frontadmin (push) Successful in 33s
SanStudent Multi-Project Deployment / deploy-frontstudent (push) Successful in 33s

This commit is contained in:
aherman-san
2026-03-07 11:40:03 +01:00
parent 8d481268ae
commit 9f806b1b9a

View File

@@ -28,10 +28,10 @@ jobs:
- name: Deploy API Container - name: Deploy API Container
run: | run: |
docker rm -f sanstudent-api || true docker rm -f sanstudent-api-container || true
docker network create san-network || true docker network create san-network || true
docker run -d \ docker run -d \
--name sanstudent-api \ --name sanstudent-api-container \
--network san-network \ --network san-network \
-p 8083:8080 \ -p 8083:8080 \
-e ConnectionStrings__DefaultConnection="${{ secrets.DB_CONNECTION_STRING }}" \ -e ConnectionStrings__DefaultConnection="${{ secrets.DB_CONNECTION_STRING }}" \
@@ -49,16 +49,16 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build FrontAdmin Image - name: Build FrontAdmin Image
run: docker build -t sanstudent-admin:latest -f FrontAdmin/Dockerfile . run: docker build -t sanstudent-frontadmin:latest -f FrontAdmin/Dockerfile .
- name: Deploy FrontAdmin Container - name: Deploy FrontAdmin Container
run: | run: |
docker rm -f sanstudent-admin || true docker rm -f sanstudent-admin-container || true
docker run -d \ docker run -d \
--name sanstudent-admin \ --name sanstudent-admin-container \
-p 8081:80 \ -p 8081:80 \
--restart always \ --restart always \
sanstudent-admin:latest sanstudent-frontadmin:latest
# ========================================== # ==========================================
# 3. FRONTSTUDENT (Blazor WebAssembly) # 3. FRONTSTUDENT (Blazor WebAssembly)
@@ -70,13 +70,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build FrontStudent Image - name: Build FrontStudent Image
run: docker build -t sanstudent-student:latest -f FrontStudent/Dockerfile . run: docker build -t sanstudent-frontstudent:latest -f FrontStudent/Dockerfile .
- name: Deploy FrontStudent Container - name: Deploy FrontStudent Container
run: | run: |
docker rm -f sanstudent-student || true docker rm -f sanstudent-student-container || true
docker run -d \ docker run -d \
--name sanstudent-student \ --name sanstudent-student-container \
-p 8082:80 \ -p 8082:80 \
--restart always \ --restart always \
sanstudent-student:latest sanstudent-frontstudent:latest