You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@age.apache.org by hb...@apache.org on 2022/08/23 04:49:33 UTC
[age-website] branch new-web updated: Update config & script
This is an automated email from the ASF dual-hosted git repository.
hbshin pushed a commit to branch new-web
in repository https://gitbox.apache.org/repos/asf/age-website.git
The following commit(s) were added to refs/heads/new-web by this push:
new a3acccb Update config & script
a3acccb is described below
commit a3acccb45a79c39f95725961b10d6c659cfdfb81
Author: Hanbyeol Shin / David Shin / 신한별 <76...@users.noreply.github.com>
AuthorDate: Tue Aug 23 13:49:24 2022 +0900
Update config & script
1. deploy script update
2. path prefix change
---
gatsby-config.js | 2 +-
package.json | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/gatsby-config.js b/gatsby-config.js
index 9a0b616..976f516 100644
--- a/gatsby-config.js
+++ b/gatsby-config.js
@@ -4,7 +4,7 @@ module.exports = {
description:
"This repo contains an example business website that is built with Gatsby, and Netlify CMS.It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.",
},
- pathPrefix: "/age-community",
+ pathPrefix: "/",
plugins: [
"gatsby-plugin-react-helmet",
"gatsby-plugin-sass",
diff --git a/package.json b/package.json
index f02f5d7..5f19db4 100644
--- a/package.json
+++ b/package.json
@@ -54,14 +54,13 @@
"gatsby"
],
"license": "(MIT OR Apache-2.0)",
- "homepage": "https://shinhanbyeol.github.io/age-community",
"main": "n/a",
"scripts": {
"clean": "gatsby clean",
"start": "yarn run develop",
"build": "yarn run clean && gatsby build",
"develop": "yarn run clean && gatsby develop",
- "deploy": "yarn run clean && gatsby build --prefix-paths && gh-pages -d public -b asf-site-new",
+ "deploy": "yarn run clean && gatsby build --prefix-paths && cp .asf.yaml ./public && gh-pages -d public -b asf-staging",
"serve": "gatsby serve -p 80",
"format": "prettier --trailing-comma es5 --no-semi --single-quote --write \"{gatsby-*.js,src/**/*.js}\"",
"test": "echo \"Error: no test specified\" && exit 1"