Spaces:
Running
Running
Merge branch 'main' of github.com:AnujPanthri/Puppeteer-API
Browse files- .github/workflows/main.yml +26 -0
.github/workflows/main.yml
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
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
|
14 |
+
with:
|
15 |
+
fetch-depth: 0
|
16 |
+
lfs: true
|
17 |
+
- name: Push to hub
|
18 |
+
env:
|
19 |
+
HF_TOKEN_AP: ${{ secrets.HF_TOKEN_AP }}
|
20 |
+
HF_TOKEN_SK: ${{ secrets.HF_TOKEN_SK }}
|
21 |
+
run: |
|
22 |
+
git push https://anuj-panthri:[email protected]/spaces/anuj-panthri/puppeteer-api-1 main --force
|
23 |
+
git push https://anuj-panthri:[email protected]/spaces/anuj-panthri/puppeteer-api-2 main --force
|
24 |
+
git push https://shivam-kala:[email protected]/spaces/shivam-kala/puppeteer-api-3 main --force
|
25 |
+
git push https://shivam-kala:[email protected]/spaces/shivam-kala/puppeteer-api-4 main --force
|
26 |
+
|