From 71b84561a2a81c5ff919147d0501eb5aee45e594 Mon Sep 17 00:00:00 2001 From: hoangvv Date: Fri, 10 Jan 2025 08:37:03 +0700 Subject: [PATCH] update --- .github/workflows/setup_docker.yml | 8 +++++--- Makefile | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/setup_docker.yml b/.github/workflows/setup_docker.yml index c86621264..962bb2dc7 100644 --- a/.github/workflows/setup_docker.yml +++ b/.github/workflows/setup_docker.yml @@ -1,10 +1,10 @@ -name: GitHub Actions Example +name: Setup Docker Action on: push: branches: [main] jobs: - ci_pipeline: + setup_docker: runs-on: self-hosted strategy: matrix: @@ -36,7 +36,9 @@ jobs: - name: Start Server run: make run_server_docker - + - name: Sleep for 30 seconds + run: sleep 30s + - name: Restore Database run: make restore_database diff --git a/Makefile b/Makefile index 474900422..4cc94c705 100644 --- a/Makefile +++ b/Makefile @@ -72,6 +72,6 @@ clean_up: ! -name "*.py" \ ! -name "*.yml" \ -print0 | xargs -0 rm -rf {} && \ - rm -rf ${DEPLOY_PATH}/etc/* + sudo rm -rf ${DEPLOY_PATH}/etc/*