Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Sync to Hugging Face
on:
push:
branches: [main]
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Push to Hugging Face
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git push --force https://itsdvirani:[email protected]/spaces/itsdvirani/InterActiveStoryTeller main