Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devvirani13 authored Sep 11, 2024
1 parent 996c212 commit 046bd6c
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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@v2
with:
fetch-depth: 0
- name: Push to hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
run: git push --force https://itsdvirani:[email protected]/spaces/itsdvirani/InterActiveStoryTeller main

0 comments on commit 046bd6c

Please sign in to comment.