Skip to content

Commit

Permalink
Merge pull request #171 from lass9436/lass9436
Browse files Browse the repository at this point in the history
[이영민] HotFix step-8 페이징 구현하기
  • Loading branch information
acceptor-gyu authored Aug 6, 2024
2 parents b28b182 + ec4bd3a commit e522daf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
name: docker-image
path: jsp-cafe.tar.gz

- name: Setup known hosts
run: |
mkdir -p ~/.ssh
echo "${{ secrets.EC2_HOST_KEY }}" >> ~/.ssh/known_hosts
chmod 644 ~/.ssh/known_hosts
- name: Deploy to EC2
env:
SSH_PRIVATE_KEY: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
Expand All @@ -46,5 +52,5 @@ jobs:
docker load < /tmp/jsp-cafe.tar.gz
docker stop jsp-cafe || true
docker rm jsp-cafe || true
docker run -d --name jsp-cafe -p 8080:8080 jsp-cafe:latest
docker run -d -p 8080:8080 --add-host=host.docker.internal:host-gateway --name jsp-cafe jsp-cafe:latest
EOF
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/question/list.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</strong>
<div class="auth-info">
<i class="icon-add-comment"></i>
<span class="time">2016-01-15 18:47</span>
<span class="time"></span>
<a href="/userPage?action=detail&seq=${question.userSeq}" class="author">${question.writer}</a>
</div>
<div class="reply" title="댓글">
Expand Down

0 comments on commit e522daf

Please sign in to comment.