12 lines
248 B
Bash
Executable File
12 lines
248 B
Bash
Executable File
#!/bin/sh
|
|
set -euo pipefail
|
|
|
|
[ -d .git ] || git clone "$GIT_SOURCE_REPO" .
|
|
[ -d venv ] || python -m venv venv
|
|
. venv/bin/activate
|
|
pip install --upgrade pip
|
|
git pull --rebase
|
|
pip install -r requirements.txt
|
|
sync-content.sh
|
|
make html
|