Merge pull request 'pipeline update' (#69) from Dev into production
Reviewed-on: #69
This commit was merged in pull request #69.
This commit is contained in:
@@ -23,13 +23,15 @@ jobs:
|
||||
.
|
||||
|
||||
- name: Restore backend
|
||||
run: dotnet restore Backend/ERPCore.sln
|
||||
working-directory: .gitea/workflows
|
||||
run: dotnet restore ../../Backend/ERPCore.sln
|
||||
|
||||
- name: Publish backend
|
||||
working-directory: .gitea/workflows
|
||||
run: |
|
||||
rm -rf /tmp/erpcore-deploy
|
||||
mkdir -p /tmp/erpcore-deploy
|
||||
dotnet publish Backend/ERPCore/ERPCore.csproj \
|
||||
dotnet publish ../../Backend/ERPCore/ERPCore.csproj \
|
||||
-c Release \
|
||||
-r linux-x64 \
|
||||
--self-contained true \
|
||||
@@ -73,7 +75,8 @@ jobs:
|
||||
.
|
||||
|
||||
- name: Build frontend Docker image
|
||||
run: docker build -t erpcore-frontend:latest Frontend/erp-system
|
||||
working-directory: .gitea/workflows
|
||||
run: docker build -t erpcore-frontend:latest ../../Frontend/erp-system
|
||||
|
||||
- name: Stop & remove existing frontend container
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user