# Github Actions Integration

**URL:** <https://discuss.huggingface.co/t/github-actions-integration/12625>\
**Category:** Spaces\
**Created:** [December 7, 2021, 10:54pm UTC](https://discuss.huggingface.co/t/github-actions-integration/12625 "2021-12-07T22:54:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pleonova](https://avatars.discourse-cdn.com/v4/letter/p/97f17d/32.png) [@pleonova](https://discuss.huggingface.co/u/pleonova)\
**Post date:** [December 7, 2021, 10:54pm UTC](https://discuss.huggingface.co/t/github-actions-integration/12625/1 "2021-12-07T22:54:53Z")

</div>

I was wondering if there are any additional resources aside from the [hf docs here](https://huggingface.co/docs/hub/spaces#reference) for setting up an automatic pipeline between github and spaces? I keep running into a bug and I am not sure how to resolve it so I was hoping someone might be able to point me in the right direction.

I have been trying to sync [my github repo](https://github.com/pleonova/multi-label-long-text) and my hf space using github actions but unfortunately keep getting the following error:

```auto
<i>Run git push ***[huggingface.co/spaces/pleonova/multi-label-long-text](http://huggingface.co/spaces/pleonova/multi-label-long-text) main
remote: Invalid username or password.
fatal: Authentication failed for 'https://huggingface.co/spaces/pleonova/multi-label-long-text/'
Error: Process completed with exit code 128.</i>

```

I added the actions to my workflow. I have also tried removing pleonova in the url but that does not work either. (same error as above). I added the hf token to my github repo environment as well as enabled all actions in the actions permissions.

Any advice would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![osanseviero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/osanseviero/32/38738_2.png) [@osanseviero](https://discuss.huggingface.co/u/osanseviero)\
**Post date:** [December 15, 2021, 5:18pm UTC](https://discuss.huggingface.co/t/github-actions-integration/12625/2 "2021-12-15T17:18:29Z")

</div>

This was solved in [(Spaces) Unable to sync with github actions · Issue #534 · huggingface/huggingface\_hub · GitHub](https://github.com/huggingface/huggingface_hub/issues/534) 🚀
