From 5bd111e03dabab4be331249bfbdaa1a05a40676a Mon Sep 17 00:00:00 2001 From: rozyczko Date: Tue, 2 Dec 2025 14:33:05 +0100 Subject: [PATCH 1/5] try force pushing docs to gh-pages --- .github/workflows/documentation-build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/documentation-build.yml b/.github/workflows/documentation-build.yml index 60c73bf..b7ff9f9 100644 --- a/.github/workflows/documentation-build.yml +++ b/.github/workflows/documentation-build.yml @@ -43,4 +43,5 @@ jobs: uses: ad-m/github-push-action@master continue-on-error: true with: - branch: gh-pages \ No newline at end of file + branch: gh-pages + force: true From 0a78fae09352db793ebd50847d40936e3c70c98b Mon Sep 17 00:00:00 2001 From: rozyczko Date: Tue, 2 Dec 2025 15:11:18 +0100 Subject: [PATCH 2/5] copy the content of the produced docs, not the main repo --- .github/workflows/documentation-build.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/documentation-build.yml b/.github/workflows/documentation-build.yml index b7ff9f9..8603a01 100644 --- a/.github/workflows/documentation-build.yml +++ b/.github/workflows/documentation-build.yml @@ -39,9 +39,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 - force: true + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./docs/_build/html From e7299b205fb4076d100037284bba40490866899f Mon Sep 17 00:00:00 2001 From: rozyczko Date: Tue, 2 Dec 2025 15:35:51 +0100 Subject: [PATCH 3/5] update the documentation page address --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 56e2ceb..906374a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,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. From fd9a5a4f936870008716d0cb217982d5f0393378 Mon Sep 17 00:00:00 2001 From: rozyczko Date: Wed, 3 Dec 2025 11:11:12 +0100 Subject: [PATCH 4/5] added codecov badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 906374a..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 From 9ff2bcd12d58c1248d7cac8d8c69df09d0cdcdda Mon Sep 17 00:00:00 2001 From: rozyczko Date: Wed, 3 Dec 2025 14:27:03 +0100 Subject: [PATCH 5/5] apparent need to write permissions on actions-gh-pages --- .github/workflows/documentation-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/documentation-build.yml b/.github/workflows/documentation-build.yml index 8603a01..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"