name: Sync to Hugging Face Hub on: push: branches: - main jobs: push_to_huggingface: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v2 with: fetch-depth: 0 - name: Push to hub main branch of huggingface.co/datasets/osbm/zenodo env: HF_TOKEN: ${{ secrets.HF_TOKEN }} run: git push --force https://osbm:$HF_TOKEN@huggingface.co/datasets/osbm/zenodo main