Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-for-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: docker/build-push-action@v3.1.1
with:
context: .
tags: hou27/test_quickchive_backend:latest
tags: quickarchive/quickarchive_api:test
push: true
job2:
needs: job1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: docker/build-push-action@v3.1.1
with:
context: .
tags: hou27/quickchive_backend:latest
tags: quickarchive/quickarchive_api:main
# build on feature branches, push only on develop branch
push: true
job2:
Expand All @@ -37,8 +37,8 @@ jobs:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
host: ${{ secrets.PROD_HOST }}
username: ubuntu
key: ${{ secrets.KEY_PAIR }}
key: ${{ secrets.PROD_KEY_PAIR }}
script: |
sh /home/ubuntu/actions-runner/deploy.sh
sh /home/ec2-user/deploy.sh