We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56e1cae commit 62d53fcCopy full SHA for 62d53fc
.github/workflows/python-app.yml
@@ -5,9 +5,9 @@ name: Python application
5
6
on:
7
push:
8
- branches: [ "main", "AddQueryStringForInitialPrompting" ]
+ branches: [ "main" ]
9
pull_request:
10
11
12
permissions:
13
contents: read
.github/workflows/sample-app-github-cd.yml
@@ -46,6 +46,7 @@ jobs:
46
deploy:
47
runs-on: ubuntu-latest
48
needs: build
49
+ if: github.ref == 'refs/heads/main' # Only run on main branch
50
environment:
51
name: 'Production'
52
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
0 commit comments