Spaces:
Runtime error
Runtime error
Vinay Jose
commited on
Update main.yml
Browse files
.github/workflows/main.yml
CHANGED
|
@@ -3,6 +3,7 @@ name: Deploy to Hugging Face Spaces
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
|
|
|
| 6 |
- '05-htmx-patterns'
|
| 7 |
|
| 8 |
jobs:
|
|
@@ -20,4 +21,4 @@ jobs:
|
|
| 20 |
run: |
|
| 21 |
git config --global user.email "actions@github.com"
|
| 22 |
git config --global user.name "GitHub Actions"
|
| 23 |
-
git push
|
|
|
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
branches:
|
| 6 |
+
- '03-a-web-1.0-application'
|
| 7 |
- '05-htmx-patterns'
|
| 8 |
|
| 9 |
jobs:
|
|
|
|
| 21 |
run: |
|
| 22 |
git config --global user.email "actions@github.com"
|
| 23 |
git config --global user.name "GitHub Actions"
|
| 24 |
+
git push https://HuggingFaceBot:$HF_TOKEN@huggingface.co/spaces/vinay-jose/$GITHUB_REF_NAME $GITHUB_REF_NAME:main
|