Skip to content

Commit

Permalink
Docker hostname 대역 변경 (10.04)
Browse files Browse the repository at this point in the history
Docker hostname 대역 변경 (10.04)
  • Loading branch information
seoko97 committed Oct 3, 2023
2 parents 1bf639e + 01a0bcf commit b3eb779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ jobs:
docker rm -f $(docker ps -f "name=back" -q)
fi
docker pull ${{secrets.DOCKER_REGISTRY_URL}}/${{secrets.BACK_DOCKER_IMAGE_NAME}}:${{ github.sha }}
docker run -dit -p 3065:3065 --name back ${{secrets.DOCKER_REGISTRY_URL}}/${{secrets.BACK_DOCKER_IMAGE_NAME}}:${{ github.sha }}
docker run -dit -p 4000:4000 --name back ${{secrets.DOCKER_REGISTRY_URL}}/${{secrets.BACK_DOCKER_IMAGE_NAME}}:${{ github.sha }}
2 changes: 1 addition & 1 deletion src/routes/post/post.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class PostService {
async update(nid: number, updatePostDto: UpdatePostDto) {
const { addTags = [], deleteTags = [], series: seriesName, ...rest } = updatePostDto;

const post = await this.postRepository.getOne({ nid });
const post = await this.postRepository.getOne({ nid }, {}, { populate: ["series"] });
const _id = post._id;

if (!post) {
Expand Down

0 comments on commit b3eb779

Please sign in to comment.