Critical changes for upcoming Hyperling.com 2.0! Automatic page updates after a pull request within 30 seconds, no reload necessary!
This commit is contained in:
@@ -16,10 +16,13 @@ RUN npm install
|
||||
|
||||
# Install + Run Website
|
||||
CMD cd /var/www/api && \
|
||||
rm -rfv pages main.js run.sh && \
|
||||
git clone https://git.hyperling.com/me/nodejs-website website && \
|
||||
rm -rfv website/files && \
|
||||
mv -v website/* ./ && \
|
||||
echo "Ensure symlink is properly deleted if it exists..." && \
|
||||
ls -l website/files; rm -v website/files; sleep 0 && \
|
||||
rm -rfv website && \
|
||||
echo "Starting Website's Run Script" && \
|
||||
git clone https://git.hyperling.com/me/nodejs-website --branch=dev website && \
|
||||
rm -rfv website/files && \
|
||||
cd website && \
|
||||
ln -sv ../files ./files && \
|
||||
find ./files -exec git update-index --assume-unchanged {} \; && \
|
||||
echo "Starting Website" && \
|
||||
./run.sh
|
||||
|
Reference in New Issue
Block a user