98
98
99
99
# Copy Jupyter notebooks from the project to the docs folder
100
100
# The notebooks are used to generate the documentation
101
- - name : Convert .py from ${{ env.NOTEBOOKS_DIR }}/ to Jupyter notebooks and add to docs/${{env.NOTEBOOKS_DIR }}/
101
+ - name : Convert ${{ env.NOTEBOOKS_DIR }}/*.py to docs/${{env.NOTEBOOKS_DIR }}/*.ipynb
102
102
run : |
103
103
jupytext ${{ env.NOTEBOOKS_DIR }}/*.py --to ipynb
104
104
mv ${{ env.NOTEBOOKS_DIR }}/*.ipynb docs/${{ env.NOTEBOOKS_DIR }}/
@@ -128,7 +128,7 @@ jobs:
128
128
129
129
# Set up the Pages action to configure the static files to be deployed
130
130
# NOTE: The repository must have GitHub Pages enabled and configured to build using GitHub Actions
131
- # This can be done via https://github.com/easyscience/EasyDiffractionLib /settings/pages
131
+ # This can be done via https://github.com/easyscience/diffraction-lib /settings/pages
132
132
# Select: Build and deploy - Source - GitHub Actions
133
133
- name : Setup GitHub Pages
134
134
uses : actions/configure-pages@v5
@@ -184,10 +184,10 @@ jobs:
184
184
# Deploy the static files created in the previous job to GitHub Pages
185
185
# To allow the deployment of the static files to GitHub Pages, no
186
186
# restrictions on the branch name need to be set for desired branches on
187
- # https://github.com/easyscience/EasyDiffractionLib /settings/environments
187
+ # https://github.com/easyscience/diffraction-lib /settings/environments
188
188
# Currently, only develop and master branches are allowed to deploy to GitHub Pages
189
- # Deployed pages are available at https://easyscience.github.io/EasyDiffractionLib
190
- - name : Deploy to easyscience.github.io/EasyDiffractionLib (all branches)
189
+ # Deployed pages are available at https://easyscience.github.io/diffraction-lib
190
+ - name : Deploy to easyscience.github.io/diffraction-lib (all branches)
191
191
uses : actions/deploy-pages@v4
192
192
193
193
# Download built site as artifact from a previous job for gh_pages (master branch)
@@ -201,10 +201,10 @@ jobs:
201
201
# Push the site files created in the previous job to the gh_pages branch
202
202
# To be able to push to the gh_pages branch, the personal GitHub API access
203
203
# token GH_API_PERSONAL_ACCSESS_TOKEN must be set for this repository via
204
- # https://github.com/easyscience/EasyDiffractionLib /settings/secrets/actions
204
+ # https://github.com/easyscience/diffraction-lib /settings/secrets/actions
205
205
# This branch is used to deploy the site to the custom domain.
206
206
# Deploying is done with a webhook:
207
- # https://github.com/easyscience/EasyDiffractionLib /settings/hooks
207
+ # https://github.com/easyscience/diffraction-lib /settings/hooks
208
208
# This is done for the gh_pages branch when the site is tested with a step above
209
209
- name :
210
210
Deploy to gh_pages branch to trigger deployment to custom domain (master branch)
0 commit comments