feature/setup-workflow-pipeline: Extend and improve deploy step #5

Open
chimeudeonwop wants to merge 5 commits from feature/setup-workflow-pipeline into main
2 changed files with 3 additions and 1 deletions
Showing only changes of commit 1b829e85f0 - Show all commits

View File

@ -89,6 +89,8 @@ jobs:
- name: Prepare deploy script - name: Prepare deploy script
run: | run: |
mkdir -p docker/
echo "echo Compose Copying..." > docker/docker-compose-dev.yml
mkdir -p .gitea/scripts mkdir -p .gitea/scripts
echo "echo Deploying..." > .gitea/scripts/deploy-backend.sh echo "echo Deploying..." > .gitea/scripts/deploy-backend.sh
chmod +x .gitea/scripts/deploy-backend.sh chmod +x .gitea/scripts/deploy-backend.sh

View File

@ -2,7 +2,7 @@
set -e # Exit immediately if a command exits with a non-zero status set -e # Exit immediately if a command exits with a non-zero status
docker compose -f docker-compose-dev.yml down --remove-orphans --volumes docker compose -f ../../../docker/docker-compose-dev.yml down --remove-orphans --volumes
docker system prune -f docker system prune -f