Skip to content

Commit a5a7edb

Browse files
github-actions[bot]RadxaYuntian
authored andcommitted
chore: templates generated by RadxaOS-SDK/rsdk@d69c907.dirty
1 parent 4e44d88 commit a5a7edb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
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"
5555
name: "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/**"

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
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/**"

0 commit comments

Comments
 (0)