This commit is contained in:
@@ -21,8 +21,8 @@ jobs:
|
||||
run: |
|
||||
set -eu
|
||||
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends openssh-client ca-certificates
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq --no-install-recommends openssh-client ca-certificates
|
||||
|
||||
DEPLOY_PORT="${DEPLOY_PORT:-22}"
|
||||
DEPLOY_PATH="${DEPLOY_PATH:-/home/ubuntu/low-level-guy.com}"
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
|
||||
docker build -t lowlevelguycom:latest .
|
||||
docker build --quiet -t lowlevelguycom:latest .
|
||||
|
||||
docker stop low-level-guy-com || true
|
||||
docker rm low-level-guy-com || true
|
||||
@@ -66,4 +66,6 @@ jobs:
|
||||
--restart unless-stopped \
|
||||
-p 5000:5000 \
|
||||
lowlevelguycom:latest
|
||||
|
||||
docker ps --filter name=low-level-guy-com --format '{{.Names}} {{.Status}} {{.Ports}}'
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user