diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 9bce2285..2e1df8ee 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -18,14 +18,14 @@ jobs: - name: Install packages run: sudo apt-get install libpoppler-cpp-dev libzbar0 tesseract-ocr yara - - name: Install poetry - run: pipx install poetry - - name: Set up Python 3.12 uses: actions/setup-python@v5 with: python-version: 3.12 + - name: Install poetry + run: pipx install poetry + - name: Install dependencies run: poetry install --with docs @@ -49,6 +49,23 @@ jobs: name: python-package-distributions path: dist/ + deploy-gh-pages: + runs-on: ubuntu-latest + needs: build + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 + # publish-to-pypi: # runs-on: ubuntu-latest @@ -67,19 +84,5 @@ jobs: # # repository-url: https://test.pypi.org/legacy/ # # -# deploy-gh-pages: -# runs-on: ubuntu-latest -# needs: build -# -# permissions: -# pages: write -# id-token: write -# -# environment: -# name: github-pages -# url: ${{ steps.deployment.outputs.page_url }} -# -# steps: -# - name: Deploy to GitHub Pages -# id: deployment -# uses: actions/deploy-pages@v2 + +