update @docker @no_cleanup @restore_db
This commit is contained in:
parent
a869b828e0
commit
878ec1f6ff
@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
docker:
|
docker:
|
||||||
if: contains(github.event.head_commit.message, '@docker')
|
if: contains(github.event.head_commit.message, '@docker')
|
||||||
runs-on: ubuntu-latest
|
runs-on: host
|
||||||
env:
|
env:
|
||||||
DB_USER: ${{ secrets.DB_USER }}
|
DB_USER: ${{ secrets.DB_USER }}
|
||||||
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
|
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
|
||||||
@ -58,10 +58,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ github.ref_name }}
|
ref: ${{ github.ref_name }}
|
||||||
|
|
||||||
- name: Set up Python
|
# - name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
# uses: actions/setup-python@v4
|
||||||
with:
|
# with:
|
||||||
python-version: ${{ matrix.python-version }}
|
# python-version: ${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Create Python virtual environment
|
- name: Create Python virtual environment
|
||||||
run: python -m venv venv
|
run: python -m venv venv
|
||||||
@ -89,7 +89,7 @@ jobs:
|
|||||||
run: make run_server_docker
|
run: make run_server_docker
|
||||||
|
|
||||||
- name: Sleep for 10 seconds
|
- name: Sleep for 10 seconds
|
||||||
run: sleep 300s
|
run: sleep 10
|
||||||
|
|
||||||
- name: Restore Database
|
- name: Restore Database
|
||||||
if: contains(github.event.head_commit.message, '@restore_db')
|
if: contains(github.event.head_commit.message, '@restore_db')
|
||||||
|
Loading…
Reference in New Issue
Block a user