# Github Actions Integration

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgithub-actions-integration%2F12625%3E%5C
**Category:** Spaces\
**Created:** [December 7, 2021, 10:54pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgithub-actions-integration%2F12625 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fpleonova)%5C
**Post date:** [December 7, 2021, 10:54pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgithub-actions-integration%2F12625%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fosanseviero)%5C
**Post date:** [December 15, 2021, 5:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fgithub-actions-integration%2F12625%2F2 "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) 🚀
