prefix paths for PR builds

This commit is contained in:
2022-07-11 19:54:19 -07:00
parent e4f787f0c2
commit fa53627ea3
2 changed files with 2 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ steps:
image: node
commands:
- yarn install
- yarn build
- PATH_PREFIX=/PR/${DRONE_PULL_REQUEST} yarn build --prefix-paths
- du -sh public
- name: rsync

View File

@@ -1,4 +1,5 @@
module.exports = {
pathPrefix: process.env.PATH_PREFIX,
siteMetadata: {
title: "Chuck Dries",
siteUrl: "https://chuckdries.com",