File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4949 uses : " actions/upload-pages-artifact@v4"
5050 with :
5151 path : " ./book/html"
52- - if : " github.event_name != 'pull_request'"
52+ - if : " github.event_name != 'pull_request' && github.ref == 'refs/heads/main' "
5353 name : " Deploy to GitHub Pages"
5454 uses : " actions/deploy-pages@v4"
5555name : " Deploy documentation"
@@ -65,6 +65,7 @@ name: "Deploy documentation"
6565 push :
6666 branches :
6767 - " main"
68+ - " gh-readonly-queue/main/pr-*"
6869 paths :
6970 - " docs/**"
7071 - " theme/**"
Original file line number Diff line number Diff line change 6464 fi | tee -a "$GITHUB_OUTPUT"
6565 shell : " bash"
6666 release :
67- if : " ${{ github.event_name != 'pull_request' && needs.build.outputs.distro != 'UNRELEASED' }}"
67+ if : " ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && needs.build.outputs.distro != 'UNRELEASED' }}"
6868 needs : " build"
6969 permissions :
7070 contents : " write"
@@ -135,6 +135,7 @@ name: "Build & Release"
135135 push :
136136 branches :
137137 - " main"
138+ - " gh-readonly-queue/main/pr-*"
138139 paths-ignore :
139140 - " docs/**"
140141 - " theme/**"
You can’t perform that action at this time.
0 commit comments