Publish docs from main (#67)

We eventually only want to support building docs from release branches
and tags, however, while we're working to initially set up the docs, we
may have some churn. So we want to be able to publish from main during
that churn.

Signed-off-by: Kathryn Baldauf <k_baldauf@apple.com>
This commit is contained in:
Kathryn Baldauf authored and GitHub committed 2025-06-09 16:33:05 -07:00
1 parent a7c974e968
commit eeddf6f7e7
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ on:
jobs:
checkBranch:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release')
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags') || startsWith(github.ref, 'refs/heads/release')
steps:
- name: Branch validation
run: echo "Branch ${{ github.ref_name }} is allowed"