I’m a strong supporter of open-source software and find that the tools I choose strongly influence my development workflow. For managing my code, including the website hosting this blog, I use Gitea. It’s a fantastic, open-source version control platform that’s lightweight and offers the features and security I need. One of the aspects I love is Gitea Actions, which makes it easy to streamline my deployment process to Vercel.
Why Gitea?
Gitea excels as a self-hosted, open-source version control platform. If you like having flexibility and control over your development setup, it’s a compelling alternative to larger, corporate-owned code hosting solutions. With Gitea Actions (which are compatible with GitHub Actions), I can tap into the rich ecosystem of Actions from the broader development community without sacrificing the benefits of an independent, open-source platform.
Streamlining Deployment with Vercel
Let’s talk about how I use Gitea Actions for deployment. Here’s my preview.yaml workflow that enables streamlined feedback cycles. Whenever I open a pull request to the main branch, this workflow triggers a preview deployment on Vercel. This lets me test and gather feedback before merging changes:
Once the preview is approved, my production.yaml workflow deploys changes to my live site – it’s very similar to the preview workflow, but tailored for the production environment:
Open Source in Practice
These workflows show how I use open-source tools to maintain a flexible and efficient approach to development. Gitea’s adaptability and the seamless integration with GitHub Actions demonstrate the power of open-source in creating custom workflows without sacrificing efficiency.
My Thoughts on This Approach
Using Gitea Actions has been a great experience for streamlining my deployment process. It highlights how open-source development enables customization and the ability to tap into community resources. If you’re seeking a flexible development environment that emphasizes open-source principles, Gitea and Vercel make a powerful combination.