This commit is contained in:
@@ -99,7 +99,17 @@ Deploy a fresh clone with:
|
||||
```sh
|
||||
git clone https://git.add-ideas.de/lotobo/toolbox-portal.git
|
||||
cd toolbox-portal
|
||||
docker compose up -d --build
|
||||
./scripts/deploy-update.sh
|
||||
```
|
||||
|
||||
If you prefer the inline command:
|
||||
|
||||
```sh
|
||||
git fetch origin --tags && \
|
||||
git pull --ff-only origin main && \
|
||||
{ TAG="$(git describe --tags --exact-match 2>/dev/null || git describe --tags --abbrev=0 2>/dev/null || true)"; \
|
||||
if [ -n "$TAG" ]; then echo "$TAG"; else echo "warning: no matching tags found"; fi; } && \
|
||||
docker compose up -d --build && \
|
||||
docker compose ps
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user