HardWorkingStation
Initial commit
260d025
raw
history blame contribute delete
783 Bytes
name: Sync to HuggingFace hub
on:
push:
branches: [main]
pull_request:
branches: [main]
# to run this workflows manually from the Actions tab
workflow_dispatch:
jobs:
check_files:
runs-on: ubuntu-latest
steps:
- name: Check large files
uses: ActionsDesk/[email protected]
with:
filesizelimit: 10485760 # this is 10MB so we can sync to HF Spaces
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 }}
run: git lfs fetch --all && git push --force https://HF_USERNAME:[email protected]/spaces/versus666/ml_message_moderation main
needs: check_files