25 lines
574 B
Bash
25 lines
574 B
Bash
#!/bin/sh
|
|
|
|
set -x # verbose mode
|
|
set -e # stop executing after error
|
|
|
|
echo "Starting Jekyll build"
|
|
|
|
####################################################
|
|
# Set workspace permissions
|
|
####################################################
|
|
|
|
chmod -R a+w /github/workspace
|
|
|
|
####################################################
|
|
# Build the Jekyll site
|
|
####################################################
|
|
|
|
jekyll build --trace
|
|
|
|
####################################################
|
|
# Build completed
|
|
####################################################
|
|
|
|
echo "Completed Jekll build"
|