All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m24s
12 lines
256 B
Bash
12 lines
256 B
Bash
#!/bin/bash
|
|
set -e
|
|
if [ -z "$GITREPO" ]; then
|
|
echo "variável GITREPO não encontrada"
|
|
exit 1
|
|
fi
|
|
mkdir -p /var/lib/gw
|
|
git clone "$GITREPO" /var/lib/gw/gitrepo
|
|
cd /var/lib/gw
|
|
exec gw gitrepo &
|
|
algernon --httponly --nocache -x -s /var/lib/gw/gitrepo
|