Skip to content

Commit

Permalink
try explicitly checking out main
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Nov 10, 2022
1 parent 48e652d commit 5ef7d3c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
- name: Build package and docs
run: |
git config --local user.email "[email protected]"
git config --local user.name "materialsproject"
git fetch --all --prune
git checkout main
git pull
python${{ matrix.python-version }} -m build
cd docs_rst
python${{ matrix.python-version }} featurizer_summary.py > featurizer_summary.rst
Expand All @@ -51,8 +56,6 @@ jobs:
rm -r html
rm -r doctrees
touch .nojekyll
git config --local user.email "[email protected]"
git config --local user.name "materialsproject"
git add .
git commit -a -m "update docs"
git push
Expand Down

0 comments on commit 5ef7d3c

Please sign in to comment.