Skip to content

Commit c8095c8

Browse files
committed
💯 Fixed deploy pipeline
1 parent 7cb5e36 commit c8095c8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,19 @@ jobs:
2929
# Build the project
3030
- name: Build project
3131
if: success()
32-
run: dotnet cake build.cake --target=build
32+
run: |
33+
# Copy Licence
34+
cp LICENSE NETCore.Keycloak.Client/
35+
36+
# Build project
37+
dotnet cake build.cake --target=build
3338
3439
# Deploy nuget package
3540
- name: Deploy nuget package
3641
if: success()
3742
env:
3843
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
3944
run: |
40-
# Copy Licence
41-
cp LICENSE NETCore.Keycloak.Client/
42-
4345
# Extract nuget package version
4446
NUGET_PKG_VERSION=$(cat NETCore.Keycloak.Client/NETCore.Keycloak.Client.csproj | grep "PackageVersion" | awk -F '>' '{print $2}' | awk -F '<' '{print $1}')
4547

0 commit comments

Comments
 (0)