Mfancher/docs adjustments (#855) #75
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 | |
on: | |
push: | |
branches: [yadhap/cicd, dev] | |
jobs: | |
deploy: | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Navigate to project directory and deploy | |
run: | | |
cd ~/Tombolo/Tombolo | |
git checkout dev | |
git stash | |
git pull | |
git stash apply | |
sudo docker-compose down | |
sudo docker-compose build | |
sudo docker-compose up -d |