32-Bit Cafe's Gitea Now Supports Gitea Actions!

from @queuetea :

Our instance of gitea now supports Gitea Actions! We CI/CD now babyyy

Gitea Actions is nearly identical to Github Actions, with a few caveats. Currently we have a single runner with a few flavors of ubuntu available for use. If you need different environments (e.g. a rust compiler or something), please do reach out. If we need more runners, reach out as well.

In most cases your existing Github Actions should work out of the box (see caveats above). You may need to enable actions for your repositories in gitea (repository settings > enable repository actions). You can view the relevant section of the quickstart guide for enabling actions for your repo here.

If you would like to host your own runners this is supported as well on per organization or repository basis. You will need a computer running docker, and to configure the act runner. Docs here.

If you’re wondering what all this is about: Actions allow you to automate all sorts of things. For example, when you push a change to a git repo you can configure an action to automatically deploy those changes a remote host. This can be used to automate updating your site when you push changes to your git repo. There’s all sorts of neat stuff you can do. Github has great documentation on how to set this stuff up.

Happy hacking :)

thank you so much, qt!! <3

4 Likes

If ya need the runners to have something beyond what’s in ubuntu-latest, don’t hesitate to reach out!

I can be contacted either via DM in discord (qt in the cafe’s discord) or via email (qt@32bit.cafe). You’ll get brownie points if you have a specific, maintained docker image in mind, but I can do the hunting for ya if need be.

Ya can ping me here, but you may be waiting a week or two for a response, I don’t monitor the forums super closely :)

1 Like

Can I set it up to push to neocities?
And how difficult is it to move a repo from github?

1 Like

If you click “New Migration” in the top right, you should be able to import your repository from GitHub.

You should be able to use the same GitHub action on our Gitea, but I’m not 100% clear on how to set that up.

1 Like