Skip to content

remove the syntheticdata functions and write it in the necessary files #98

remove the syntheticdata functions and write it in the necessary files

remove the syntheticdata functions and write it in the necessary files #98

name : Deploy sphinx gallery to Github Pages
on :
push :
branches :
- main
- update_examples
permissions:
id-token: write
pages: write
jobs :
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install sphinx sphinx-gallery sphinx-book-theme
git clone https://gitlab.com/openmcsquare/opentps.git
pip install ./opentps
pip install -r requirements.txt
- name: Build the docs
run: |
make html
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: _build/html
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: deploy to Github Pages
uses: actions/deploy-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
artifact_name: github-pages