Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
ostefano committed Aug 24, 2024
1 parent a01aa15 commit e404bd4
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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


0 comments on commit e404bd4

Please sign in to comment.