Merge branch 'dev' #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docs | |
on: | |
push: | |
branches: [ main] | |
pull_request: | |
branches: [ main] | |
jobs: | |
publish-documentation: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10.12",] | |
# python-version: ["3.8.1", "3.9.1", "3.10.12", "3.11.1", "3.12.1"] | |
poetry-version: ["1.7.0"] | |
# pandas-version: ["2.2.0", "2.1.0", "2.0.0", "1.5.0", "1.4.0", "1.3.0"] | |
# scikit-learn-version: ["1.4.0", "1.3.0", "1.2.0", "1.1.0", "1.0",] | |
# runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run image | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: View poetry --help | |
run: poetry --help | |
- name: poetry Install | |
run: poetry install | |
- name: Run pwd | |
run: pwd | |
- name: Publish documentation | |
run: cd ./docs && poetry run mkdocs gh-deploy | |
env: | |
PACKAGE_DIRECTORY: "./sktransf/" | |
PYTHON_VERSION: "3.10.12" | |
ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PUBLISH_REGISTRY_PASSWORD: ${{ secrets.PUBLISH_REGISTRY_PASSWORD }} |