diff --git a/.github/workflows/documentation-build.yml b/.github/workflows/documentation-build.yml index 60c73bf..fd58996 100644 --- a/.github/workflows/documentation-build.yml +++ b/.github/workflows/documentation-build.yml @@ -16,6 +16,9 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +permissions: + contents: write + # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" @@ -39,8 +42,8 @@ jobs: # install_requirements: true # documentation_path: docs/src - - name: Push changes - uses: ad-m/github-push-action@master - continue-on-error: true + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 with: - branch: gh-pages \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/_build/html diff --git a/README.md b/README.md index 56e2ceb..b41a80b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md) [![PyPI badge](http://img.shields.io/pypi/v/EasyScience.svg)](https://pypi.python.org/pypi/EasyScience) [![License: BSD 3-Clause](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](LICENSE) +[![codecov](https://codecov.io/github/EasyScience/corelib/graph/badge.svg?token=wc6Q0j0Q9t)](https://codecov.io/github/EasyScience/corelib) # Easyscience @@ -33,7 +34,7 @@ After installation, launch the test suite: Documentation can be found at: -[https://easyScience.github.io/EasyScience](https://easyScience.github.io/EasyScience) +[https://easyScience.github.io/corelib](https://easyScience.github.io/corelib) ## Contributing We absolutely welcome contributions. **EasyScience** is maintained by the ESS and on a volunteer basis and thus we need to foster a community that can support user questions and develop new features to make this software a useful tool for all users while encouraging every member of the community to share their ideas.