Spaces:
Sleeping
Sleeping
Merge branch 'case_study_1_2025' of https://github.com/rcpaffenroth/DSCS553_example into case_study_1_2025
Browse files
.github/workflows/discord-notification.yml
CHANGED
|
@@ -2,7 +2,7 @@ name: Discord Notification
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
-
branches: [
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
notify:
|
|
@@ -15,4 +15,4 @@ jobs:
|
|
| 15 |
run: |
|
| 16 |
curl -X POST -H "Content-Type: application/json" \
|
| 17 |
-d "{\"content\": \"A new commit was pushed to the main branch by $GITHUB_ACTOR. :smile: Ponytails rock!\"}" \
|
| 18 |
-
$DISCORD_WEBHOOK_URL
|
|
|
|
| 2 |
|
| 3 |
on:
|
| 4 |
push:
|
| 5 |
+
branches: [case_study_1_2025]
|
| 6 |
|
| 7 |
jobs:
|
| 8 |
notify:
|
|
|
|
| 15 |
run: |
|
| 16 |
curl -X POST -H "Content-Type: application/json" \
|
| 17 |
-d "{\"content\": \"A new commit was pushed to the main branch by $GITHUB_ACTOR. :smile: Ponytails rock!\"}" \
|
| 18 |
+
$DISCORD_WEBHOOK_URL
|
.github/workflows/hf-sync.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
name: Sync to Hugging Face hub
|
| 2 |
on:
|
| 3 |
push:
|
| 4 |
-
branches: [
|
| 5 |
|
| 6 |
# to run this workflow manually from the Actions tab
|
| 7 |
workflow_dispatch:
|
|
@@ -17,4 +17,4 @@ jobs:
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
-
run: git push https://rcpaffenroth:$HF_TOKEN@huggingface.co/spaces/rcpaffenroth/CSDS553_Demo main
|
|
|
|
| 1 |
name: Sync to Hugging Face hub
|
| 2 |
on:
|
| 3 |
push:
|
| 4 |
+
branches: [case_study_1_2025]
|
| 5 |
|
| 6 |
# to run this workflow manually from the Actions tab
|
| 7 |
workflow_dispatch:
|
|
|
|
| 17 |
- name: Push to hub
|
| 18 |
env:
|
| 19 |
HF_TOKEN: ${{ secrets.HF_TOKEN }}
|
| 20 |
+
run: git push https://rcpaffenroth:$HF_TOKEN@huggingface.co/spaces/rcpaffenroth/CSDS553_Demo main
|