Skip to content

Commit 5ef7d3c

Browse files
committedNov 10, 2022
try explicitly checking out main
1 parent 48e652d commit 5ef7d3c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎.github/workflows/release.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ jobs:
3939
4040
- name: Build package and docs
4141
run: |
42+
git config --local user.email "feedback@materialsproject.org"
43+
git config --local user.name "materialsproject"
44+
git fetch --all --prune
45+
git checkout main
46+
git pull
4247
python${{ matrix.python-version }} -m build
4348
cd docs_rst
4449
python${{ matrix.python-version }} featurizer_summary.py > featurizer_summary.rst
@@ -51,8 +56,6 @@ jobs:
5156
rm -r html
5257
rm -r doctrees
5358
touch .nojekyll
54-
git config --local user.email "feedback@materialsproject.org"
55-
git config --local user.name "materialsproject"
5659
git add .
5760
git commit -a -m "update docs"
5861
git push

0 commit comments

Comments
 (0)
Please sign in to comment.