Files
portal/.ci.run
Thomas Dedek 67e2620bca add CI
2021-02-24 10:49:43 +01:00

15 lines
449 B
Bash

#!/usr/bin/env sh
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
set -o xtrace ## set -x : Print command traces before executing command
# prepare python dependencies
pipenv install >/dev/null
# build HTML file
pipenv run ./build.py items.yml
# push into archive
tar czf "$ARCHIVE/portal.tar.gz" -C dist .