Skip to content

Commit

Permalink
more action updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud Swehli committed Sep 13, 2023
1 parent b8e90f2 commit 35698a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,5 @@ jobs:
run: dotnet pack --configuration Release -o ./out
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink.Abstractions
- name: Push to nuget
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key "$env:NUGET_API_KEY"
run: dotnet nuget push *.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_API_KEY }}
working-directory: ./src/Muljin.B2CMagicLink/Muljin.B2CMagicLink.Abstractions/out
8 changes: 7 additions & 1 deletion .github/workflows/main_muljinmagiclinkexample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy ASP.Net Core app to Azure Web App - muljinmagiclinkexample

on:
push:
branches:
- main
paths:
- src/example Muljin/**
- .github/workflows/dotnet.yml

pull_request:
branches: [ "main" ]

workflow_dispatch:

jobs:
Expand Down

0 comments on commit 35698a5

Please sign in to comment.