Skip to content

Commit

Permalink
Merge pull request #272 from materialsproject/dev
Browse files Browse the repository at this point in the history
Fix docs
  • Loading branch information
mattmcdermott authored Sep 1, 2023
2 parents 24820e6 + 957a78d commit fcc5cd9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,21 @@ jobs:
exclude_labels: dependencies

- name: Commit files
env:
CI_USER: ${{ secrets.GITHUB_USER }}
CI_EMAIL: ${{ secrets.GITHUB_EMAIL }}
run: |
git config --local user.email "mcdermott@lbl.gov"
git config --local user.name "materialsproject"
git stash
git pull origin main
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md'
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && echo "push=true" >> $GITHUB_ENV || echo "No changes to CHANGELOG.md"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
if: env.push == 'true'
env:
CI_USER: ${{ secrets.GITHUB_USER }}
CI_TOKEN: ${{ secrets.GITHUB_TOKEN}}
run: |
git push "https://$CI_USER:$CI_TOKEN@github.com/$GITHUB_REPOSITORY.git" HEAD:main
- name: Build
run: sphinx-build docs docs_build
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "reaction-network"
description = "Reaction-network is a Python package for synthesis planning and prediction of chemical reaction pathways in inorganic materials synthesis."
description = "Reaction-network is a Python package for synthesis planning and predicting chemical reaction pathways in inorganic materials synthesis."
readme = "README.md"
keywords = [
"reaction",
Expand Down

0 comments on commit fcc5cd9

Please sign in to comment.