diff --git a/.github/workflows/main-deploy.yml b/.github/workflows/main-deploy.yml index 95b230432..1711b37e0 100644 --- a/.github/workflows/main-deploy.yml +++ b/.github/workflows/main-deploy.yml @@ -1,6 +1,7 @@ name: Deploy to 42ggClientS3 on: + workflow_dispatch: push: branches: - deploy diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index db8b8f732..872c885ca 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -22,6 +22,8 @@ jobs: - name: Build env: NEXT_PUBLIC_SERVER_ENDPOINT: ${{ secrets.NEXT_DEV_PUBLIC_SERVER_ENDPOINT }} + NEXT_PUBLIC_CLIENT_ENDPOINT: ${{ secrets.DEV_NEXT_PUBLIC_CLIENT_ENDPOINT }} + NEXT_PUBLIC_PARTY_MANAGE_SERVER_ENDPOINT: ${{ secrets.DEV_NEXT_PUBLIC_PARTY_MANAGE_SERVER_ENDPOINT }} NEXT_PUBLIC_MANAGE_SERVER_ENDPOINT: ${{ secrets.NEXT_DEV_PUBLIC_MANAGE_SERVER_ENDPOINT }} GENERATE_SOURCEMAP: ${{ secrets.GENERATE_SOURCEMAP }} run: | diff --git a/components/party/roomDetail/PartyDetailButton.tsx b/components/party/roomDetail/PartyDetailButton.tsx index 862b87890..4271929e9 100644 --- a/components/party/roomDetail/PartyDetailButton.tsx +++ b/components/party/roomDetail/PartyDetailButton.tsx @@ -80,16 +80,16 @@ function ReportNoShow({ roomId, userIntraId }: ParytButtonProps) { } function ShareRoom() { - const roomId = useRouter().query.roomId; const setSnackbar = useSetRecoilState(toastState); + const shareUrl = `${process.env.NEXT_PUBLIC_CLIENT_ENDPOINT}${ + useRouter().asPath + }`; return (