Workshop 2: Valid HTML5 Check and surge.sh Deployment (Test and Deploy)
In this exercise, we want to deploy an HTML5 page on the service surge.sh. We also want to check if the HTML5 code is valid. These two operations—checking if the HTML5 is valid (test) and deploying to surge.sh (deploy)—will be automated using Jenkins (CI/CD).
Remember that the repository is https://github.com/josedom24/ic-html5.
As we saw in Example 2, to do the deployment, we need to save the token obtained from surge.sh. Let’s see how to work with credentials in Jenkins.