Skip to content

Commit 27107a0

Browse files
committed
docs: fetch tags and create local branches
1 parent 114ab37 commit 27107a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
path: dev
2222
fetch-depth: 0
23+
fetch-tags: true
2324

2425
- name: Checkout gh-pages-dev
2526
uses: actions/checkout@v3
@@ -37,6 +38,10 @@ jobs:
3738
run: |
3839
cd ./dev
3940
python -m pip install .[docs]
41+
- name: Create local branches
42+
run: |
43+
cd ./dev
44+
git branch master remotes/origin/master
4045
- name: Make the Sphinx docs
4146
run: |
4247
cd ./dev/docsrc

0 commit comments

Comments
 (0)