Added container names in docker compose #2
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: Deployment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
Deployment: | |
runs-on: hl | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # This ensures a full clone of the repository | |
- name: Docker Compose Down | |
run: docker compose down | |
- name: Docker Compose Up | |
run: docker compose up -d --build |