From 5ef7d3cc8bf86d6692e34d75b78fda092e8e72a5 Mon Sep 17 00:00:00 2001 From: Patrick Huck Date: Thu, 10 Nov 2022 15:53:24 -0800 Subject: [PATCH] try explicitly checking out main --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c3c36849..8f4b7c56d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,11 @@ jobs: - name: Build package and docs run: | + git config --local user.email "feedback@materialsproject.org" + 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 @@ -51,8 +56,6 @@ jobs: rm -r html rm -r doctrees touch .nojekyll - git config --local user.email "feedback@materialsproject.org" - git config --local user.name "materialsproject" git add . git commit -a -m "update docs" git push