Skip to main content

Team - Deploy

info

Deploying a website is making it available on the Internet. The production version is deployed when stakeholders agree.

Meanwhile, developers working on features, fixes, or testing may deploy a private Preview website with their changes, without disturbing other developers work or the production version. This enables the stakeholders to monitor progress. See Preview Deployments


Prerequisites

  • Deploy
    • Public website
    • Private development websites
    • Vendor
    • Secured

Deployment

Docusaurus supports static site hosting services such as Cloudflare, GitHub Pages, Netlify, Vercel, and others. I have used these and other hosting services. My choice is Cloudflare.


Cloudflare

This website is using Cloudflare for a Content Delivery Network (CDN), Domain Name System (DNS) and website deployment. Cloudflare builds websites and deploys them when VScode pushes changes from the Local Repository to the Central Repository, Cloudflare then automatically builds the website and deploys to the Internet.

Benefits deploying projects with Cloudflare are:

  • Zero Trust Security
  • Performance
  • Stability

Features this author like are:

  • Zero Trust Security
    What is Zero Trust security?

  • Automatic website deployment after a push to the GitHub repository branch. Team members may periodically Preview local repository to a private and secure website where stockholders view their work and give feedback.

  • Website builds are quick

  • Previous deployments can be quickly redeploy


Preview

As team members makes changes to their repository clone, they may deploy their local cloned repository to a private Preview Internet website for stakeholders to quickly view and give feedback.

The repository guardian and other team members evaluating pull requests may deploy them to a private Internet website for stakeholders to preview and give feedback.

When the pull request team and stakeholders are satisfied the updated production changes are ready for deployment, the repository guardian deploys the updated production version of the website to a private preview Internet website for stakeholders to preview and give feedback. When the stakeholders are satisfied with the updated production version, the repository guardian deploys the updated production version of the website to the Internet