image: alpine/git:latest pipelines: custom: deploy-test-to-huggingface: - step: name: Deploy release/test to Hugging Face Organization Space script: - git config --global user.email "bitbucket-pipeline@artandscience.local" - git config --global user.name "Bitbucket Pipeline" - git remote remove hf || true - git remote add hf https://sarvenyanik:${HF_TOKEN}@huggingface.co/spaces/artandscience/webbff-test - git push --force hf HEAD:main