Skip to content

Commit 845129b

Browse files
committed
Switched to poetry
1 parent ffefc7e commit 845129b

File tree

4 files changed

+565
-33
lines changed

4 files changed

+565
-33
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: deploy website
2-
on:
3-
push:
4-
branches:
5-
- source
2+
# on:
3+
# push:
4+
# branches:
5+
# - source
6+
on: push
7+
8+
env:
9+
POETRY_HOME: /opt/poetry
610

711
jobs:
812
build:
@@ -15,20 +19,22 @@ jobs:
1519
with:
1620
python-version: "3.7"
1721

18-
- name: Install pipenv
19-
uses: dschep/install-pipenv-action@v1
22+
- name: Install poetry
23+
run: |
24+
python3 -m venv $POETRY_HOME
25+
$POETRY_HOME/bin/pip install poetry==1.2.0
2026
2127
- name: Install dependencies
2228
run: |
23-
pipenv install
29+
poetry install --no-root
2430
2531
- name: Install Task
2632
uses: arduino/setup-task@v1
2733

28-
- name: Build and publish
29-
env:
30-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
# PAT to enable the that happens in the task 'publish_https'
32-
GIT_PAT: ${{ secrets.MY_PAT }}
33-
run: |
34-
pipenv run task publish_https
34+
# - name: Build and publish
35+
# env:
36+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
# # PAT to enable the that happens in the task 'publish_https'
38+
# GIT_PAT: ${{ secrets.MY_PAT }}
39+
# run: |
40+
# poetry run task publish_https

Pipfile

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)