prefix paths for PR builds

This commit is contained in:
Chuck Dries 2022-07-11 19:54:19 -07:00
parent e4f787f0c2
commit fa53627ea3
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6
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",