We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9737d91 commit e815fd5Copy full SHA for e815fd5
1 file changed
.github/workflows/publish_github_pages.yml
@@ -3,17 +3,13 @@ name: build and test and deploy
3
on:
4
push:
5
branches:
6
- - main
7
- pull_request:
8
- types: [closed]
9
- branches:
10
+ - main
11
permissions:
12
contents: write
13
14
jobs:
15
deploy-to-github-pages:
16
- if: github.event.pull_request.merged == true
+ if: github.ref == 'refs/heads/main'
17
runs-on: ubuntu-latest
18
steps:
19
# Checkout the code
0 commit comments