From e9b06a690b6ba06f5b5caaf0ba21aafa3679639e Mon Sep 17 00:00:00 2001 From: Antonio De Lucreziis Date: Wed, 2 Oct 2024 01:40:23 +0200 Subject: [PATCH] chore: even more polish to the drone build script --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index fe0b985..d935347 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,9 @@ -# This file defines a Drone pipeline that builds a static website with "npm run build". +# This file defines a Drone pipeline that builds a static website with "npm run build". This +# pipeline must be marked as "Trusted" in the Drone project settings. # -# We mount the target directory of the project under "/var/www/{project}" to the -# container "dist/" directory. A caveat is that the container builds files with "root" -# permissions, so we need to fix those after each build. +# We mount the target directory of the project under "/var/www/{project}" to the container +# "dist/" directory. A caveat is that the container builds files with "root" permissions, +# so we need to fix those after each build with a second pipeline. kind: pipeline name: default