Skip to content

Commit 302709f

Browse files
committed
fix(ci): publish docs only for main branch
1 parent 3ead22d commit 302709f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ jobs:
8585
name: "Publish Docs"
8686
runs-on: ubuntu-latest
8787
needs: ["build-docs", "tests", "test-rsconnect"]
88+
if: github.ref == 'refs/heads/main'
8889
steps:
8990
- uses: actions/download-artifact@v3
9091
with:

0 commit comments

Comments
 (0)