diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8843ea6..6d8f45c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,10 +11,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Configure Git Credentials - run: | - git config user.name github-actions[bot] - git config user.email 41898282+github-actions[bot]@users.noreply.github.com - uses: actions/setup-python@v4 with: python-version: 3.x @@ -27,5 +23,5 @@ jobs: mkdocs-material- - run: pip install poetry - run: poetry install -E doc - - run: pip install mkdocs-material mkdocs + - run: pip install mkdocs-material mkdocs mkdocstrings[python] - run: poetry run mkdocs gh-deploy --force \ No newline at end of file diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index 3738f19..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,47 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: stage & preview workflow - -# Controls when the action will run. -on: - # Triggers the workflow on push or pull request events but only for the master branch - push: - branches: [ master, main ] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - publish_dev_build: - runs-on: ubuntu-latest - - strategy: - matrix: - python-versions: [3.8, 3.9, "3.10", "3.11"] - - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-versions }} - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pytest poetry typing-extensions - - - - name: Build wheels and source tarball - run: | - poetry version $(poetry version --short)-dev.$GITHUB_RUN_NUMBER - poetry version --short - poetry build - - - name: publish to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN}} - repository_url: https://test.pypi.org/legacy/ - skip_existing: true