Deploy to self-hosted runner #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to self-hosted runner | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: azure-16gb | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Start containers | |
run: docker compose -f "docker-compose.yml" up -d --build | |
- name: Cleanup Docker | |
run: | | |
docker system prune -af | |
docker volume prune -f | |
docker network prune -f |