Skip to content

Commit

Permalink
docker-image.yml 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yooonwodyd committed Dec 21, 2023
1 parent 82eb298 commit 14caae9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,18 @@ jobs:
run: |
docker login -u yooonwodyd00 -p dbswodyd91
docker build -f Dockerfile -t yooonwodyd00/happynewhere_be-app .
docker push yooonwodyd00/happynewhere_be-app
docker push yooonwodyd00/happynewhere_be-app
## deploy to develop
- name: Deploy to dev
if: contains(github.ref, 'develop')
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_IP }}
username: ${{ secrets.REMOTE_SSH_ID }}
key: ${{ secrets.REMOTE_SSH_KEY }}
port: ${{ secrets.REMOTE_SSH_PORT }}
script: |
sudo docker ps
sudo docker pull yooonwodyd00/happynewhere_be-app
sudo docker compose down
sudo docker compose up -d
1 change: 1 addition & 0 deletions src/main/resources/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<a href="https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=3641163fbd0e73f9d1ce14d4388d37cc&redirect_uri=http://happynewhere.서버.한국:8080/login/kakao">
Kakao 로그인
이제 안됨~~~~~
ci/cd 적용 완료
</a>
</body>
</html>

0 comments on commit 14caae9

Please sign in to comment.