This commit is contained in:
@ -15,8 +15,8 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Stop containers
|
- name: Build containers
|
||||||
run: docker compose down
|
run: bash ./containers-build.sh
|
||||||
|
|
||||||
- name: Deploy containers
|
- name: Restart containers
|
||||||
run: docker compose up -d
|
run: docker compose up -d --force-recreate
|
||||||
|
4
containers-build.sh
Normal file
4
containers-build.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
docker build -t dd-multitool-bot:latest ./bot
|
||||||
|
docker build -t dd-multitool-api:latest ./api
|
||||||
|
docker build -t dd-multitool-web:latest ./web
|
Reference in New Issue
Block a user