Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
Signed-off-by: sambit <[email protected]>
  • Loading branch information
sam-ai authored Jun 29, 2023
1 parent cfce1a4 commit 271fc1d
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/main.yml
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 }}

0 comments on commit 271fc1d

Please sign in to comment.