Files
jekyll-build-pages/entrypoint.sh

29 lines
571 B
Bash

#!/bin/sh
set -x # verbose mode
set -e # stop executing after error
echo "Starting Jekyll build"
####################################################
# Set workspace permissions
####################################################
pwd
ls -R
chmod -R a+w ./
####################################################
# Build the Jekyll site
####################################################
jekyll build --trace
####################################################
# Build completed
####################################################
echo "Completed Jekll build"