Archisman Karmakar
commited on
Commit
·
7ef8e3c
1
Parent(s):
a9af96c
Update deploy_to_HF_space.yml
Browse files
.github/workflows/deploy_to_HF_space.yml
CHANGED
|
@@ -37,10 +37,20 @@ jobs:
|
|
| 37 |
- name: Upgrade pip
|
| 38 |
run: python -m pip install --upgrade pip
|
| 39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
- name: Install dependencies
|
| 41 |
run: |
|
| 42 |
# pip install poetry
|
| 43 |
-
pip install --upgrade poetry --upgrade-strategy eager
|
| 44 |
poetry --version
|
| 45 |
# poetry install --no-root
|
| 46 |
poetry export -f requirements.txt --without-hashes --output requirements.txt
|
|
|
|
| 37 |
- name: Upgrade pip
|
| 38 |
run: python -m pip install --upgrade pip
|
| 39 |
|
| 40 |
+
- name: Install & configure Poetry
|
| 41 |
+
run: |
|
| 42 |
+
# - name: Disable Poetry virtualenv creation
|
| 43 |
+
poetry config virtualenvs.create false
|
| 44 |
+
|
| 45 |
+
pip install --upgrade poetry --upgrade-strategy eager
|
| 46 |
+
poetry --version
|
| 47 |
+
poetry add poetry-plugin-export
|
| 48 |
+
|
| 49 |
+
|
| 50 |
- name: Install dependencies
|
| 51 |
run: |
|
| 52 |
# pip install poetry
|
| 53 |
+
# pip install --upgrade poetry --upgrade-strategy eager
|
| 54 |
poetry --version
|
| 55 |
# poetry install --no-root
|
| 56 |
poetry export -f requirements.txt --without-hashes --output requirements.txt
|