Skip to content

Commit 62d53fc

Browse files
committed
Exclude Python-app
1 parent 56e1cae commit 62d53fc

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Python application
55

66
on:
77
push:
8-
branches: [ "main", "AddQueryStringForInitialPrompting" ]
8+
branches: [ "main" ]
99
pull_request:
10-
branches: [ "main", "AddQueryStringForInitialPrompting" ]
10+
branches: [ "main" ]
1111

1212
permissions:
1313
contents: read

.github/workflows/sample-app-github-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
deploy:
4747
runs-on: ubuntu-latest
4848
needs: build
49+
if: github.ref == 'refs/heads/main' # Only run on main branch
4950
environment:
5051
name: 'Production'
5152
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

0 commit comments

Comments
 (0)