prefix paths for PR builds
This commit is contained in:
parent
e4f787f0c2
commit
fa53627ea3
@ -88,7 +88,7 @@ steps:
|
|||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn build
|
- PATH_PREFIX=/PR/${DRONE_PULL_REQUEST} yarn build --prefix-paths
|
||||||
- du -sh public
|
- du -sh public
|
||||||
|
|
||||||
- name: rsync
|
- name: rsync
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
|
pathPrefix: process.env.PATH_PREFIX,
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
title: "Chuck Dries",
|
title: "Chuck Dries",
|
||||||
siteUrl: "https://chuckdries.com",
|
siteUrl: "https://chuckdries.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user