We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c043c5 + 34e42c3 commit 618b1fbCopy full SHA for 618b1fb
.github/workflows/docs.yml
@@ -2,8 +2,6 @@ name: Documentation
2
3
on:
4
push:
5
- branches:
6
- - main
7
workflow_dispatch:
8
9
permissions:
@@ -64,6 +62,7 @@ jobs:
64
62
needs: build
65
63
name: Generate robots.txt
66
runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/main'
67
68
steps:
69
- name: Create robots.txt
@@ -92,6 +91,7 @@ jobs:
92
91
93
name: Deploy to pages
94
95
96
97
- name: Download docs artifact
0 commit comments