This commit is contained in:
hoangvv 2025-01-10 08:37:03 +07:00
parent 6725c0b8ff
commit 71b84561a2
2 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -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/*