getEmotion #25
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: AWS deploy CD | |
# on: | |
# workflow_run: | |
# workflows: [Docker Image CI] | |
# types: | |
# - completed | |
# jobs: | |
# build: | |
# runs-on: self-hosted | |
# steps: | |
# - | |
# name: Pull docker image | |
# run: sudo docker pull vihidun/depresio-backend:latest | |
# - | |
# name: delete old docker container | |
# run: sudo docker rm -f depresio-backend-container || true | |
# - | |
# name: Run docker container | |
# run: sudo docker run -d -p 8080:8080 --name depresio-backend-container vihidun/depresio-backend | |