mcikalmerdeka's picture
add GitHub Actions workflow for syncing to Hugging Face Hub on push to main
644f65f
Raw
History Blame Contribute Delete
446 Bytes
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 https://mcikalmerdeka:$HF_TOKEN@huggingface.co/spaces/mcikalmerdeka/context-engineering-visualizer main