diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index e16b05a7..7642ebad 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -10,40 +10,6 @@ concurrency: cancel-in-progress: true jobs: - python_doc: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - run: rustup update - - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - run: python -m venv venv - working-directory: ./python - - run: source venv/bin/activate && pip install --upgrade -r requirements.dev.txt - working-directory: ./python - - run: source venv/bin/activate && maturin develop - working-directory: ./python - - run: source ../venv/bin/activate && sphinx-build -M doctest . build - working-directory: ./python/docs - - run: source ../venv/bin/activate && sphinx-build -M html . build - working-directory: ./python/docs - - uses: actions/checkout@v3 - with: - repository: oxigraph/oxigraph.github.io - path: website - token: ${{ secrets.FULL_ACCESS_TOKEN }} - - run: rm -rf ./website/pyoxigraph/latest && mkdir -p ./website/pyoxigraph/latest && cp -r ./python/docs/build/html/* ./website/pyoxigraph/latest/ - - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git add . - git diff-index --quiet HEAD || git commit -m "Updates pyoxigraph documentation" - git push - working-directory: ./website - binary_linux: runs-on: ubuntu-latest steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14f785e7..dff5aed4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -189,43 +189,6 @@ jobs: with: files: js/*.tgz - publish_python_doc: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - submodules: true - - run: rustup update - - uses: actions/setup-python@v4 - with: - python-version: 3.8 - - run: python -m venv venv - working-directory: ./python - - run: source venv/bin/activate && pip install --upgrade -r requirements.dev.txt - working-directory: ./python - - run: source venv/bin/activate && maturin develop - working-directory: ./python - - run: source ../venv/bin/activate && sphinx-build -M doctest . build - working-directory: ./python/docs - - run: source ../venv/bin/activate && sphinx-build -M html . build - working-directory: ./python/docs - - uses: actions/checkout@v3 - with: - repository: oxigraph/oxigraph.github.io - path: website - token: ${{ secrets.FULL_ACCESS_TOKEN }} - - run: echo "RELEASE_VERSION=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - - run: rm -rf ./website/pyoxigraph/stable && mkdir -p ./website/pyoxigraph/stable && cp -r ./python/docs/build/html/* ./website/pyoxigraph/stable/ - if: "!contains('-', github.event.release.tag_name)" - - run: mkdir -p ./website/pyoxigraph/$RELEASE_VERSION && cp -r ./python/docs/build/html/* ./website/pyoxigraph/$RELEASE_VERSION/ - - run: | - git config user.name github-actions - git config user.email github-actions@github.com - git add . - git diff-index --quiet HEAD || git commit -m "Updates pyoxigraph documentation" - git push - working-directory: ./website - publish_full_archive: runs-on: ubuntu-latest steps: