Skip to content

Commit 6a408fc

Browse files
committed
fix: checkout to gh-pages branch
1 parent 75c84fe commit 6a408fc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
git checkout gh-pages || git checkout -b gh-pages
2727
2828
- name: Copy build files
29-
run: cp -r build/* .
29+
run: cp -r public/* .
3030

3131
- name: Deploy to GitHub Pages
3232
env:

gatsby-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { GatsbyConfig } from "gatsby";
22
import path from "path";
33

44
const config: GatsbyConfig = {
5-
pathPrefix: "/toothlessdev.github.io",
5+
pathPrefix: "/",
66
siteMetadata: {
77
title: `toothlessdev`,
88
siteUrl: `https://toothlessdev.github.io`,

0 commit comments

Comments
 (0)