Skip to content

Commit 81251c1

Browse files
Merge pull request #25 from marcelloraffaele/fix-test
Refactor dotnet-deploy.yml and RazorPagesTestSample.Tests.csproj
2 parents 203d410 + e7729d1 commit 81251c1

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

.github/workflows/dotnet-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ on:
1010
push:
1111
branches: [ main ]
1212
paths: src/Application/**
13-
pull_request:
14-
branches: [ main ]
15-
paths: src/Application/**
13+
# pull_request:
14+
# branches: [ main ]
15+
# paths: src/Application/**
1616
# Allows you to run this workflow manually from the Actions tab
1717
workflow_dispatch:
1818
jobs:

.github/workflows/undeploy.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Destroy Azure Resource Group
1+
name: Delete Azure Resource Group
22

33
on:
44
workflow_dispatch:
@@ -30,13 +30,9 @@ jobs:
3030
enable-AzPSSession: true
3131

3232
# Destroy Resource Group
33-
- name: Destroy Resource Group
34-
run: |
35-
az group delete --name ${{ secrets.AZURE_RG }} --yes --no-wait
36-
37-
# - name: Azure ARM Deployment
38-
# uses: azure/ARM@v1
39-
# with:
40-
# azcliversion: 2.0.72
41-
# inlineScript: |
42-
# az group delete --name ${{ secrets.AZURE_RG }} --yes --no-wait
33+
- name: Azure ARM Deployment
34+
uses: azure/ARM@v1
35+
with:
36+
azcliversion: 2.0.72
37+
inlineScript: |
38+
az group delete --name ${{ secrets.AZURE_RG }} --yes --no-wait

0 commit comments

Comments
 (0)