Skip to content

Commit cedd46a

Browse files
committed
Switch to gatsby
1 parent 6573c7a commit cedd46a

28 files changed

Lines changed: 18041 additions & 4212 deletions

.github/workflows/deploy.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
6-
pull_request:
7-
branches: [ main ]
5+
branches: [main]
6+
workflow_dispatch:
87

98
permissions:
109
contents: read
@@ -18,32 +17,32 @@ concurrency:
1817
jobs:
1918
build:
2019
runs-on: ubuntu-latest
21-
2220
steps:
2321
- name: Checkout
2422
uses: actions/checkout@v4
25-
26-
- name: Setup Node.js
23+
24+
- name: Setup Node
2725
uses: actions/setup-node@v4
2826
with:
29-
node-version: '20'
30-
cache: 'npm'
31-
27+
node-version: "20"
28+
cache: "npm"
29+
30+
- name: Setup Pages
31+
id: pages
32+
uses: actions/configure-pages@v5
33+
3234
- name: Install dependencies
3335
run: npm ci
34-
35-
- name: Build project
36+
37+
- name: Build with Gatsby
3638
run: npm run build
3739
env:
3840
NODE_ENV: production
39-
40-
- name: Setup Pages
41-
uses: actions/configure-pages@v4
42-
41+
4342
- name: Upload artifact
4443
uses: actions/upload-pages-artifact@v3
4544
with:
46-
path: ./out
45+
path: ./public
4746

4847
deploy:
4948
environment:
@@ -54,4 +53,4 @@ jobs:
5453
steps:
5554
- name: Deploy to GitHub Pages
5655
id: deployment
57-
uses: actions/deploy-pages@v4
56+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
# Testing
88
/coverage
99

10-
# Next.js
11-
/.next/
12-
/out/
10+
# Gatsby
11+
/.cache/
12+
/public
1313

1414
# Production
1515
/build
@@ -27,12 +27,8 @@ yarn-error.log*
2727
.env*.local
2828
.env
2929

30-
# Vercel
31-
.vercel
32-
3330
# TypeScript
3431
*.tsbuildinfo
35-
next-env.d.ts
3632

3733
# Logs
3834
logs
@@ -51,4 +47,4 @@ logs
5147
.Spotlight-V100
5248
.Trashes
5349
ehthumbs.db
54-
Thumbs.db
50+
Thumbs.db

gatsby-browser.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "./src/styles/globals.css";

gatsby-config.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import type { GatsbyConfig } from "gatsby";
2+
3+
const config: GatsbyConfig = {
4+
siteMetadata: {
5+
title: "Kyne Software - Ethereum Node Operations",
6+
description: "Professional Ethereum node operating services and consulting solutions. Building secure, reliable blockchain infrastructure.",
7+
siteUrl: "https://www.kyne.eu",
8+
author: "Oisín Kyne",
9+
keywords: ["ethereum", "blockchain", "node operations", "digital assets", "ethereum staking", "blockchain infrastructure"],
10+
},
11+
graphqlTypegen: true,
12+
plugins: [
13+
"gatsby-plugin-postcss",
14+
"gatsby-plugin-image",
15+
"gatsby-plugin-sharp",
16+
"gatsby-transformer-sharp",
17+
{
18+
resolve: "gatsby-source-filesystem",
19+
options: {
20+
name: "images",
21+
path: `${__dirname}/src/images`,
22+
},
23+
},
24+
],
25+
};
26+
27+
export default config;

gatsby-ssr.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import "./src/styles/globals.css";

0 commit comments

Comments
 (0)