Merge pull request #955 from hpcc-systems/yadhap/lock-start-and-end-t… #87
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-azure, 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 stash | |
git pull | |
git stash apply | |
sudo docker-compose down | |
sudo docker-compose build | |
sudo docker-compose up -d |