webbff-test / bitbucket-pipelines.yml
sarvenyanik's picture
add deploy settings for huggingface
ab963b9
Raw
History Blame Contribute Delete
533 Bytes
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