Spaces:
Runtime error
Runtime error
Mayuresh Agashe
commited on
Commit
·
1887942
1
Parent(s):
ca9745a
Yml changes experimental (#18)
Browse files* Update filesizecheck.yml
* Update githubhfsync.yml
* Update githubhfsync.yml
.github/workflows/filesizecheck.yml
CHANGED
@@ -8,9 +8,10 @@ on: # or directly `on: [push]` to run the action on every push on
|
|
8 |
|
9 |
jobs:
|
10 |
sync-to-hub:
|
|
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
- name: Check large files
|
14 |
uses: ActionsDesk/[email protected]
|
15 |
with:
|
16 |
-
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
|
|
|
8 |
|
9 |
jobs:
|
10 |
sync-to-hub:
|
11 |
+
if: github.repository == 'CaffeineCrew/Techdocs'
|
12 |
runs-on: ubuntu-latest
|
13 |
steps:
|
14 |
- name: Check large files
|
15 |
uses: ActionsDesk/[email protected]
|
16 |
with:
|
17 |
+
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
|
.github/workflows/githubhfsync.yml
CHANGED
@@ -2,12 +2,15 @@ name: Sync to Hugging Face hub
|
|
2 |
on:
|
3 |
push:
|
4 |
branches: [main]
|
|
|
|
|
5 |
|
6 |
# to run this workflow manually from the Actions tab
|
7 |
workflow_dispatch:
|
8 |
|
9 |
jobs:
|
10 |
sync-to-hub:
|
|
|
11 |
runs-on: ubuntu-latest
|
12 |
steps:
|
13 |
- uses: actions/checkout@v3
|
|
|
2 |
on:
|
3 |
push:
|
4 |
branches: [main]
|
5 |
+
paths:
|
6 |
+
- 'Techdocs/**'
|
7 |
|
8 |
# to run this workflow manually from the Actions tab
|
9 |
workflow_dispatch:
|
10 |
|
11 |
jobs:
|
12 |
sync-to-hub:
|
13 |
+
if: github.repository == 'CaffeineCrew/Techdocs'
|
14 |
runs-on: ubuntu-latest
|
15 |
steps:
|
16 |
- uses: actions/checkout@v3
|