Skip to content

Commit

Permalink
CD-SSH-오류수정 (#47)
Browse files Browse the repository at this point in the history
* Fix : 클라이언트 컴포넌트 Async 태그 제거

* Fix : SSH 도커 로그인 오류 수정

* Fix : 로그인 명령어 수정
  • Loading branch information
jobkaeHenry authored Nov 26, 2023
1 parent 85dffbd commit 9ec7cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/Client-DEV-CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
password: ${{ secrets.STORYBOOK_CLOUD_PASSWORD }}
port: ${{ secrets.STORYBOOK_CLOUD_PORT }}
script: |
sudo docker login -u ${{ secrets.CLIENT_DOCKER_USERNAME }} -p ${{ secrets.CLIENT_DOCKER_PASSWORD }}
sudo docker pull ${{ secrets.CLIENT_STORYBOOK_REPO }}/${{ secrets.CLIENT_DEV_SERVICE_NAME }}:latest
sudo docker rm -f ${{ secrets.CLIENT_DEV_SERVICE_NAME }}
sudo docker run --name ${{ secrets.CLIENT_DEV_SERVICE_NAME }} -d -p ${{ secrets.CLIENT_DEV_PORT }}:${{ secrets.CLIENT_DEV_PORT }} ${{ secrets.CLIENT_STORYBOOK_REPO }}/${{ secrets.CLIENT_DEV_SERVICE_NAME }}:latest
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/post/PostDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface PostDetailInterface {
postNo: string;
initialData: PostInterface;
}
const PostDetail = async ({ postNo, initialData }: PostDetailInterface) => {
const PostDetail = ({ postNo, initialData }: PostDetailInterface) => {
const { data } = useGetPostDetailQuery(postNo, { initialData });
//FIXME 포스트의 좋아요갯수가 업데이트 되지않음
return data ? (
Expand Down

0 comments on commit 9ec7cc9

Please sign in to comment.