update @docker @no_cleanup @restore_db

This commit is contained in:
hoangvv 2025-01-15 18:35:27 +07:00
parent a869b828e0
commit 878ec1f6ff

View File

@ -43,7 +43,7 @@ jobs:
docker:
if: contains(github.event.head_commit.message, '@docker')
runs-on: ubuntu-latest
runs-on: host
env:
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
@ -58,10 +58,10 @@ jobs:
with:
ref: ${{ github.ref_name }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}
- name: Create Python virtual environment
run: python -m venv venv
@ -89,7 +89,7 @@ jobs:
run: make run_server_docker
- name: Sleep for 10 seconds
run: sleep 300s
run: sleep 10
- name: Restore Database
if: contains(github.event.head_commit.message, '@restore_db')