aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <msabate@suse.com>2021-07-05 22:19:04 +0200
committerMiquel Sabaté Solà <msabate@suse.com>2021-07-05 22:19:04 +0200
commit51df2f21e7ec2cf0e4887ab7615a96938d637274 (patch)
tree56e586bed3dec9605e689886bff1c5999973392b
parentfeb79b3a26521c0c8eff9fc29e5959bc3cd64e47 (diff)
downloadjo.mssola.com-51df2f21e7ec2cf0e4887ab7615a96938d637274.tar.gz
jo.mssola.com-51df2f21e7ec2cf0e4887ab7615a96938d637274.zip
script: switch into the build source directory
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
-rw-r--r--script/post-receive1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/post-receive b/script/post-receive
index 7c9edca..c08265e 100644
--- a/script/post-receive
+++ b/script/post-receive
@@ -38,6 +38,7 @@ do
# Build site
chmod +x $BUILD_SOURCE/script/docker-build.sh
+ cd $BUILD_SOURCE
POST_RECEIVE=true NUKE=true $BUILD_SOURCE/script/docker-build.sh
fi
done