Skip to content

general: add static caching for minio images #4

general: add static caching for minio images

general: add static caching for minio images #4

Workflow file for this run

name: Deploy to VM
on:
push:
branches:
- dev
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Execute commands over ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd ./back
sudo git checkout dev
sudo git pull
sudo make docker-build
sudo docker-compose down
sudo docker-compose up -d