-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: sambit <[email protected]>
- Loading branch information
Showing
1 changed file
with
13 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
name: Sync to Hugging Face hub | ||
name: Sync with Hugging Face Hub | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
# to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
sync-to-hub: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
lfs: true | ||
- name: Push to hub | ||
env: | ||
HF_TOKEN: ${{ secrets.HF_TOKEN }} | ||
run: git push https://OdiaGenAI:[email protected]/spaces/OdiaGenAI/Olive_scrapper main | ||
- name: Sync with Hugging Face | ||
uses: nateraw/[email protected] | ||
with: | ||
github_repo_id: OdiaGenAI/Olive_Scrapper | ||
huggingface_repo_id: OdiaGenAI/Olive_scrapper | ||
repo_type: space | ||
space_sdk: streamlit | ||
hf_token: ${{ secrets.HF_TOKEN }} |