Merge pull request #3 from srdarkseer/dev #11
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: Push to ECR | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-push: | |
runs-on: self-hosted | |
steps: | |
- name: Pull Latest Changes | |
run: | | |
pwd | |
cd ~/sai-web3 | |
export PATH=/usr/local/bin:$PATH | |
git pull | |
docker-compose up --build -d | |
docker system prune -f | |