Revert to vivi action
This commit is contained in:
@@ -1,28 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x # verbose mode
|
||||
set -e # stop executing after error
|
||||
# Set verbose mode
|
||||
set -x
|
||||
|
||||
echo "Starting Jekyll build"
|
||||
# Stop executing after error
|
||||
set -e
|
||||
|
||||
####################################################
|
||||
# Set workspace permissions
|
||||
####################################################
|
||||
# Change permissions
|
||||
chmod -R a+w /github/workspace
|
||||
|
||||
pwd
|
||||
# Use working directory
|
||||
cd /github/workspace
|
||||
|
||||
ls -R
|
||||
|
||||
chmod -R a+w ./
|
||||
|
||||
####################################################
|
||||
# Build the Jekyll site
|
||||
####################################################
|
||||
|
||||
jekyll build --trace
|
||||
|
||||
####################################################
|
||||
# Build completed
|
||||
####################################################
|
||||
|
||||
echo "Completed Jekll build"
|
||||
# Run command
|
||||
$*
|
||||
|
||||
Reference in New Issue
Block a user