chore: even more polish to the drone build script
continuous-integration/drone/push Build is passing Details

pull/1/head
Antonio De Lucreziis 2 weeks ago
parent b501fbcb41
commit e9b06a690b

@ -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 # We mount the target directory of the project under "/var/www/{project}" to the container
# container "dist/" directory. A caveat is that the container builds files with "root" # "dist/" directory. A caveat is that the container builds files with "root" permissions,
# permissions, so we need to fix those after each build. # so we need to fix those after each build with a second pipeline.
kind: pipeline kind: pipeline
name: default name: default

Loading…
Cancel
Save