From 67a8bd8decebb98599e549608b3661ea43f205b5 Mon Sep 17 00:00:00 2001 From: narendra Date: Wed, 26 Jun 2024 12:02:02 +0530 Subject: [PATCH] Create yaml_to_act.yml --- .github/workflows/yaml_to_act.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/yaml_to_act.yml diff --git a/.github/workflows/yaml_to_act.yml b/.github/workflows/yaml_to_act.yml new file mode 100644 index 0000000..a8bf91f --- /dev/null +++ b/.github/workflows/yaml_to_act.yml @@ -0,0 +1,18 @@ +name: Sync to Hugging Face hub +on: + push: + branches: [main] + workflow_dispatch: + +jobs: + sync-to-hub: + 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 --force https://narendra-bluebash:$HF_TOKEN@huggingface.co/spaces/narendra-bluebash/streamlit_unstructured main