This article was first published on Sia Blog - Medium
I have created a web app, where can I deploy it so I can share it with my friends?
I have created a pull request with some changes, how can I verify it with my manager or designer without making them run it locally?
If you are a web developer, you might have asked yourself those questions already. There is a number of services that would help you out with that, for example github pages, netlify, or vercel but with Skynet and thanks to the recent release of the registry API, you can achieve the same goal and at the same time keep your web app decentralized and accessible from any Skynet portal.
This article, in the form of a step by step tutorial, will show you how to:
- automatically build and deploy your web application to a unique URL on every pull request change
- automatically build and deploy your web application on any change to the production branch and update your application public URL
After reading this post, you will be able to accomplish these things with just a single configuration file and some Handshake (HNS) domain setup.
You will find a live usage example in the final section of this article.
Automation workflow setup
This article assumes you already have a web application that has its source code hosted on Github. In this example, we will be using a demo web app created with Create React App. You can do the same or use your existing web app.
Basic action workflow — test and build
As a first step, we will set up ...
To keep reading, please go to the original article at:
Sia Blog - Medium