Skip to content

Commit 618b1fb

Browse files
Merge pull request #210 from TheDragonCode/7.x
Added testing of documentation during push
2 parents 6c043c5 + 34e42c3 commit 618b1fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ name: Documentation
22

33
on:
44
push:
5-
branches:
6-
- main
75
workflow_dispatch:
86

97
permissions:
@@ -64,6 +62,7 @@ jobs:
6462
needs: build
6563
name: Generate robots.txt
6664
runs-on: ubuntu-latest
65+
if: github.ref == 'refs/heads/main'
6766

6867
steps:
6968
- name: Create robots.txt
@@ -92,6 +91,7 @@ jobs:
9291

9392
name: Deploy to pages
9493
runs-on: ubuntu-latest
94+
if: github.ref == 'refs/heads/main'
9595

9696
steps:
9797
- name: Download docs artifact

0 commit comments

Comments
 (0)