openenv-hackathon / .github /workflows /sync_to_hub.yml
hiitsesh's picture
Initialize GPUClusterEnv boilerplate as per OpenEnv requirements
4e608c3
raw
history blame contribute delete
562 Bytes
name: Sync to Hugging Face Hub
on:
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sync-to-hub:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
lfs: true
- name: Push to Hugging Face Hub
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
run: |
git remote add space https://hiitsesh:$HF_TOKEN@huggingface.co/spaces/hiitsesh/openenv-hackathon
git push --force space main