diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml deleted file mode 100644 index 1769b0f..0000000 --- a/.github/workflows/deploy_docs.yml +++ /dev/null @@ -1,44 +0,0 @@ -name: Build and Deploy Jupyter Book documentation -on: - push: - branches: - - main - # If your git repository has the Jupyter Book within some-subfolder next to - # unrelated files, you can make this run only if a file within that specific - # folder has been modified. - - paths: - - docs/** - -jobs: - build-and-deploy: - if: github.repository == 'EAPD-DRB/OG-ZAF' - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@v2 - with: - activate-environment: ogzaf-dev - environment-file: environment.yml - python-version: 3.9 - auto-activate-base: false - - - name: Build # Build Jupyter Book - shell: bash -l {0} - run: | - pip install -e . - pip install jupyter-book>=0.11.3 - pip install sphinxcontrib-bibtex>=2.0.0 - jb build ./docs/book - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@releases/v3 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: docs/book/_build/html # The folder the action should deploy. diff --git a/.github/workflows/docs_check.yml b/.github/workflows/docs_check.yml deleted file mode 100644 index 4a90250..0000000 --- a/.github/workflows/docs_check.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Check that docs build -on: [push, pull_request] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. - with: - persist-credentials: false - - - name: Setup Miniconda - uses: conda-incubator/setup-miniconda@v2 - with: - activate-environment: ogzaf-dev - environment-file: environment.yml - python-version: 3.9 - auto-activate-base: false - - - name: Build # Build Jupyter Book - shell: bash -l {0} - run: | - pip install -e . - pip install jupyter-book>=0.11.3 - pip install sphinxcontrib-bibtex>=2.0.0 - jb build ./docs/book