erik
2b2ca8dae7
The script file must exist in the root of the specified gitea-repo. You also need to specify (and calculate) a sha256sum output for that file. This needs to be added as KV pair to the respective collection in :websites.
15 lines
317 B
Bash
Executable file
15 lines
317 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mkdir $BUILDDIR
|
|
mkdir $SOURCEDIR
|
|
|
|
source /usr/local/bin/functions.sh
|
|
|
|
echo "Downloading website"
|
|
get-and-unzip-website-data
|
|
echo "Executing Custom Scripts, if applicable"
|
|
execute-scripts-when-existing
|
|
echo "Building website"
|
|
build-and-extract-website
|
|
echo "Moving files"
|
|
move-website-files-to-target
|