File tree Expand file tree Collapse file tree 4 files changed +565
-33
lines changed Expand file tree Collapse file tree 4 files changed +565
-33
lines changed Original file line number Diff line number Diff line change 1
1
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
6
10
7
11
jobs :
8
12
build :
@@ -15,20 +19,22 @@ jobs:
15
19
with :
16
20
python-version : " 3.7"
17
21
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
20
26
21
27
- name : Install dependencies
22
28
run : |
23
- pipenv install
29
+ poetry install --no-root
24
30
25
31
- name : Install Task
26
32
uses : arduino/setup-task@v1
27
33
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
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments