This commit is contained in:
@@ -8,18 +8,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out latest code
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Stop and remove old containers
|
- name: Deploy to Container
|
||||||
run: |
|
run: |
|
||||||
docker compose down || true
|
docker compose up -d --build --remove-orphans
|
||||||
|
|
||||||
- name: Remove unused Docker resources
|
|
||||||
run: |
|
|
||||||
docker system prune -a --volumes -f
|
|
||||||
|
|
||||||
- name: Build and restart containers
|
|
||||||
run: |
|
|
||||||
docker compose pull
|
|
||||||
docker compose up -d --build
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user