Skip to content
Snippets Groups Projects
Verified Commit 17a8e7b2 authored by Abraham Raji's avatar Abraham Raji
Browse files

Added script to generate site

parent ba2d8210
Branches
No related merge requests found
Pipeline #1184 failed with stage
#!/usr/bin/env bash
set -euo pipefail
checkdir(){
[ $(pwd | rev | cut -d/ -f1 | rev) != "website" ] &&
echo "Please execute the script from the website folder" || rm -rf public /tmp/public && hugo
}
checkdir && mv public /tmp
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment