Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

chore: Added Cloudflare Pages deployment #800

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ We listed a few different services you can use for hosting your Status Page Syst
|:--------------------------------------------------:|:------------------:|:--------------------------------------:|
| [GitHub Pages](#github-pages) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
| [GitLab Pages](#gitlab-pages-and-gitlab-ci) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
| [Cloudflare Pages](#cloudflare-pages) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
| [Netlify](#netlify) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
| [Firebase](#firebase) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
| [Surge](#surge) | <FeatureSupport /> | <FeatureSupport :isSuported="false" /> |
Expand Down Expand Up @@ -121,6 +122,23 @@ Visit the [GitLab Pages](https://gitlab.com/help/user/project/pages/getting_star
- [Gatsby: Deploying to GitLab Pages](https://www.gatsbyjs.org/docs/deploying-to-gitlab-pages/)
- [VuePress: Deploying to GitLab Pages and GitLab CI](https://vuepress.vuejs.org/guide/deploy.html#gitlab-pages-and-gitlab-ci)

## Cloudflare Pages

1. Sign into your Cloudflare account and go to Pages.
2. Create a project.
3. Connect your Github account with Cloudflare.
4. Select your Statusfy Github repository
5. Set up build and deployments:
- Project name
- Production branch
- Framework preset: _None_
- Build command: _npm run generate_
- Build output directory: _/dist_
- Root directory: _/_
6. After deploying your page, you can view your site through the unique URL assigned. Any time a new commit is made to your production branch, Cloudflare Pages will automatically build and deploy.

See [Cloudflare Pages docs](https://developers.cloudflare.com/pages/get-started) to learn more.

## Netlify

1. On Netlify, setup up a new project with the following settings:
Expand Down