Files
my-app/.gitea/workflows/scripts/deploy-backend.sh
Patrick 1b829e85f0
All checks were successful
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Has been skipped
checks / Set up Java for Backend Tests and Build (push) Has been skipped
Gitea Actions Demo / Explore Gitea Actions - 2 (pull_request) Has been skipped
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Has been skipped
checks / Set up Java for Backend Tests and Build (pull_request) Has been skipped
Full Build and Docker Push Workflow / Builder (pull_request) Successful in 4m20s
extend deploy step
2025-11-07 10:47:28 +01:00

11 lines
287 B
Bash

#! /bin/bash
set -e # Exit immediately if a command exits with a non-zero status
docker compose -f ../../../docker/docker-compose-dev.yml down --remove-orphans --volumes
docker system prune -f
docker compose -f docker-compose-dev.yml up -d
echo "Started all containers successfully"