version: 2.1 workflows: main: jobs: - sync-to-huggingface: context: - HuggingFace filters: branches: only: - main jobs: sync-to-huggingface: docker: - image: alpine resource_class: small steps: - run: name: install git command: apk update && apk add openssh-client git - checkout - run: name: push to Huggingface hub command: | git config http.postBuffer 524288000 git config user.email "" git config user.name "" git push -f https://alamin655:${HF_PERSONAL_TOKEN}@huggingface.co/spaces/alamin655/spacex main