Spaces:
Sleeping
Sleeping
Commit
·
6c8630d
1
Parent(s):
a4ce26c
Update main.yaml
Browse files
.github/workflows/main.yaml
CHANGED
|
@@ -3,7 +3,7 @@ on:
|
|
| 3 |
push:
|
| 4 |
branches: [main]
|
| 5 |
|
| 6 |
-
# to run this workflow manually from the Actions tab
|
| 7 |
workflow_dispatch:
|
| 8 |
|
| 9 |
jobs:
|
|
@@ -15,6 +15,11 @@ jobs:
|
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: false
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
- name: Install Python Dependencies
|
| 19 |
run: |
|
| 20 |
pip install --no-cache-dir -r requirements.txt
|
|
@@ -23,5 +28,3 @@ jobs:
|
|
| 23 |
env:
|
| 24 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 25 |
run: git push --force https://vraj04patel:$HF_TOKEN@huggingface.co/spaces/vraj04patel/Blog-Generator main
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 3 |
push:
|
| 4 |
branches: [main]
|
| 5 |
|
| 6 |
+
# to run this workflow manually from the Actions tab
|
| 7 |
workflow_dispatch:
|
| 8 |
|
| 9 |
jobs:
|
|
|
|
| 15 |
fetch-depth: 0
|
| 16 |
lfs: false
|
| 17 |
|
| 18 |
+
- name: Install Dependencies
|
| 19 |
+
run: |
|
| 20 |
+
sudo apt-get update && sudo apt-get install -y git-lfs
|
| 21 |
+
git lfs install
|
| 22 |
+
|
| 23 |
- name: Install Python Dependencies
|
| 24 |
run: |
|
| 25 |
pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 28 |
env:
|
| 29 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 30 |
run: git push --force https://vraj04patel:$HF_TOKEN@huggingface.co/spaces/vraj04patel/Blog-Generator main
|
|
|
|
|
|