Compare commits
2 Commits
ea689bb7a1
...
f410f69e9d
| Author | SHA1 | Date | |
|---|---|---|---|
| f410f69e9d | |||
| 036f4d1dfc |
@@ -1,7 +1,7 @@
|
|||||||
**/.classpath
|
**/.classpath
|
||||||
**/.dockerignore
|
**/.dockerignore
|
||||||
**/.env
|
**/.env
|
||||||
**/.git
|
#**/.git
|
||||||
**/.gitignore
|
**/.gitignore
|
||||||
**/.project
|
**/.project
|
||||||
**/.settings
|
**/.settings
|
||||||
|
|||||||
@@ -67,8 +67,7 @@ steps:
|
|||||||
to:
|
to:
|
||||||
from_secret: telegram_user_id
|
from_secret: telegram_user_id
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
- success
|
|
||||||
- failure
|
- failure
|
||||||
depends_on:
|
depends_on:
|
||||||
- compile
|
- compile
|
||||||
|
|||||||
@@ -9,9 +9,9 @@ EXPOSE 8081
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY ["WebApi.csproj", "src/WebApi/"]
|
COPY ["src/WebApi/WebApi.csproj", "src/WebApi/"]
|
||||||
RUN dotnet restore "./src/WebApi/WebApi.csproj"
|
RUN dotnet restore "./src/WebApi/WebApi.csproj"
|
||||||
COPY . src/WebApi
|
COPY . .
|
||||||
WORKDIR "/src/src/WebApi"
|
WORKDIR "/src/src/WebApi"
|
||||||
RUN dotnet build "./WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
RUN dotnet build "./WebApi.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
|
||||||
@@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
|
|||||||
README.md = README.md
|
README.md = README.md
|
||||||
.drone.yml = .drone.yml
|
.drone.yml = .drone.yml
|
||||||
version.json = version.json
|
version.json = version.json
|
||||||
|
Dockerfile = Dockerfile
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{437DE053-1DAB-4EEF-BEA6-E3B5179692F8}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{437DE053-1DAB-4EEF-BEA6-E3B5179692F8}"
|
||||||
|
|||||||
Reference in New Issue
Block a user