π make sqlAdmin more beautifull and more comfortable #32
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: Docker Compose Action | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: βοΈ checkout@4 | |
uses: actions/checkout@v4 | |
- name: π οΈ run docker compose | |
uses: hoverkraft-tech/compose-action@v2.0.1 | |
with: | |
compose-file: "./compose.yaml" | |
- name: π deploy | |
uses: appleboy/ssh-action@v1.0.3 | |
with: | |
host: ${{ secrets.HOST }} | |
username: ${{ secrets.USERNAME }} | |
password: ${{ secrets.PASSWORD }} | |
key: ${{ secrets.KEY }} | |
script: | | |
cd /home/matv864/smm_shelter | |
sudo git fetch --all | |
sudo git reset --hard origin/main | |
sudo docker compose up -d --build |