phoenix-byte / .github /workflows /hf_spaces_deploy.yml
root
hf cd
b0be57c
Raw
History Blame Contribute Delete
576 Bytes
# This is a basic workflow that is manually triggered
name: Phoenix-byte Huggingface Spaces
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
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://akfung:$HF_TOKEN@huggingface.co/spaces/akfung/phoenix-byte main