Skip to content

Commit

Permalink
Switched to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
drorata committed Sep 22, 2024
1 parent ffefc7e commit 845129b
Show file tree
Hide file tree
Showing 4 changed files with 565 additions and 33 deletions.
34 changes: 20 additions & 14 deletions .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
name: deploy website
on:
push:
branches:
- source
# on:
# push:
# branches:
# - source
on: push

env:
POETRY_HOME: /opt/poetry

jobs:
build:
Expand All @@ -15,20 +19,22 @@ jobs:
with:
python-version: "3.7"

- name: Install pipenv
uses: dschep/install-pipenv-action@v1
- name: Install poetry
run: |
python3 -m venv $POETRY_HOME
$POETRY_HOME/bin/pip install poetry==1.2.0
- name: Install dependencies
run: |
pipenv install
poetry install --no-root
- name: Install Task
uses: arduino/setup-task@v1

- name: Build and publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# PAT to enable the that happens in the task 'publish_https'
GIT_PAT: ${{ secrets.MY_PAT }}
run: |
pipenv run task publish_https
# - name: Build and publish
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # PAT to enable the that happens in the task 'publish_https'
# GIT_PAT: ${{ secrets.MY_PAT }}
# run: |
# poetry run task publish_https
19 changes: 0 additions & 19 deletions Pipfile

This file was deleted.

Loading

0 comments on commit 845129b

Please sign in to comment.