Skip to content

Commit

Permalink
Modify docker-image name
Browse files Browse the repository at this point in the history
kohei-s committed Oct 19, 2023
1 parent 4f4e15f commit f538838
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -87,11 +87,11 @@ jobs:
username: ec2-user
key: ${{ secrets.SSH_KEY }}
script: |
docker stop kotokocontainer
docker rm kotokocontainer
docker run --pull=always --name kotokocontainer --publish 80:8080 --detach --env MONGO_DB_URI=${{ secrets.MONGO_DB_URI }} --env DEEPL_API_KEY=${{ secrets.DEEPL_API_KEY }} kokoyuyu/kotoko-app:latest
docker stop ec2-user
docker rm ec2-user
docker run --pull=always --name ec2-user --publish 80:8080 --detach --env MONGO_DB_URI=${{ secrets.MONGO_DB_URI }} --env DEEPL_API_KEY=${{ secrets.DEEPL_API_KEY }} kokoyuyu/kotoko-app:latest
sleep 15s
docker logs kotokocontainer
docker logs ec2-user
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@v3
with:
2 changes: 1 addition & 1 deletion .github/workflows/show-logs.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
username: ec2-user
key: ${{ secrets.SSH_KEY }}
script: |
sudo docker logs kotokocontainer
sudo docker logs ec2-user
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@v3
with:

0 comments on commit f538838

Please sign in to comment.