Skip to content

Commit 4bf27f9

Browse files
committed
☁️ Migrate from Github Pages to Cloudflare Pages
1 parent 2087387 commit 4bf27f9

File tree

2 files changed

+7
-13
lines changed

2 files changed

+7
-13
lines changed

.github/workflows/deploy.yml .github/workflows/build.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Deploy
1+
name: Build
22

33
on:
44
push:
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build-and-deploy:
12+
build:
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -30,9 +30,3 @@ jobs:
3030

3131
- name: Export ✈️
3232
run: npm run export
33-
34-
- name: Deploy to Github Pages 🚀
35-
uses: JamesIves/github-pages-deploy-action@v4
36-
with:
37-
branch: gh-pages
38-
folder: out

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<h1 align="center">Williams Custom Homes Website Frontend</h1>
22

33
<div align="center">
4-
<a href="https://github.com/c-o-l-i-n/wch-frontend/actions/workflows/deploy.yml">
5-
<img alt="Github Build and Deployment Status" src="https://img.shields.io/github/actions/workflow/status/c-o-l-i-n/wch-frontend/deploy.yml?logo=github&logoWidth=12">
4+
<a href="https://github.com/c-o-l-i-n/wch-frontend/actions/workflows/build.yml">
5+
<img alt="Github Build Status" src="https://img.shields.io/github/actions/workflow/status/c-o-l-i-n/wch-frontend/build.yml?logo=github&logoWidth=12">
66
</a>
77
<a href="https://williamscustomhomes.com">
88
<img alt="Website Monitoring Status" src="https://img.shields.io/website?url=https%3A%2F%2Fwilliamscustomhomes.com">
@@ -21,20 +21,20 @@
2121

2222
Williams Custom Homes is a family-owned custom home building business in Stark County, Ohio.
2323

24-
The website frontend is a [Next.js](https://nextjs.org/) static site hosted on [Github Pages](https://pages.github.com/). A [workflow](.github/workflows/deploy.yml) rebuilds the site when content changes.
24+
The website frontend is a [Next.js](https://nextjs.org/) static site hosted on [Cloudflare Pages](https://pages.cloudflare.com/).
2525

2626
### Technology Stack
2727

2828
[![Next.js](https://img.shields.io/badge/Next.js-black?style=for-the-badge&logo=next.js&logoColor=white)](https://nextjs.org/)
2929
[![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
30-
[![Github Pages](https://img.shields.io/badge/Github%20Pages-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)](https://pages.github.com/)
30+
[![Cloudflare Pages](https://img.shields.io/badge/Cloudflare%20Pages-F38020?style=for-the-badge&logo=Cloudflare%20Pages&logoColor=white)](https://pages.cloudflare.com/)
3131

3232
## Getting Started
3333

3434
### Prerequisites
3535

3636
- [Git](https://git-scm.com/)
37-
- [Node.js](https://nodejs.org/) v14.6.0 or higher
37+
- [Node.js](https://nodejs.org/) v18
3838

3939
### Install
4040

0 commit comments

Comments
 (0)