typos
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
PROTOCOL=http
|
PROTOCOL=http
|
||||||
HOST=staging.mwhitnessing.com
|
HOST=staging.mwitnessing.com
|
||||||
PORT=
|
PORT=
|
||||||
NEXT_PUBLIC_PUBLIC_URL=https://staging.mwhitnessing.com
|
NEXT_PUBLIC_PUBLIC_URL=https://staging.mwitnessing.com
|
||||||
|
|
||||||
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
|
# Linux: `openssl rand -hex 32` or go to https://generate-secret.now.sh/32
|
||||||
NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638
|
NEXTAUTH_SECRET=1dd8a5457970d1dda50600be28e935ecc4513ff27c49c431849e6746f158d638
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
nextjs-app: # https://sofia.mwhitnessing.com/
|
nextjs-app: # https://sofia.mwitnessing.com/
|
||||||
hostname: jwpw-app-staging # jwpw-nextjs-app-1
|
hostname: jwpw-app-staging # jwpw-nextjs-app-1
|
||||||
image: docker.d-popov.com/jwpw:latest
|
image: docker.d-popov.com/jwpw:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
nextjs-app: # https://sofia.mwhitnessing.com/
|
nextjs-app: # https://sofia.mwitnessing.com/
|
||||||
hostname: jwpw-app # jwpw-nextjs-app-1
|
hostname: jwpw-app # jwpw-nextjs-app-1
|
||||||
image: docker.d-popov.com/jwpw:latest
|
image: docker.d-popov.com/jwpw:latest
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -10,7 +10,7 @@ if [ "$UPDATE_CODE_FROM_GIT" = "true" ]; then
|
|||||||
mkdir /tmp/clone
|
mkdir /tmp/clone
|
||||||
|
|
||||||
# Clone the repository
|
# Clone the repository
|
||||||
git clone -b ${GIT_BRANCH:-main} --depth 1 https://$GIT_USERNAME:${GIT_PASSWORD//@/%40}@git.d-popov.com/popov/mwhitnessing.git /tmp/clone || exit 1
|
git clone -b ${GIT_BRANCH:-main} --depth 1 https://$GIT_USERNAME:${GIT_PASSWORD//@/%40}@git.d-popov.com/popov/mwitnessing.git /tmp/clone || exit 1
|
||||||
|
|
||||||
# Synchronize all files except package.json and package-lock.json to /app
|
# Synchronize all files except package.json and package-lock.json to /app
|
||||||
rsync -av --delete --exclude 'package.json' --exclude 'package-lock.json' /tmp/clone/ /app/ || echo "Rsync failed: Issue synchronizing files"
|
rsync -av --delete --exclude 'package.json' --exclude 'package-lock.json' /tmp/clone/ /app/ || echo "Rsync failed: Issue synchronizing files"
|
||||||
|
@ -29,7 +29,7 @@ export const authOptions: NextAuthOptions = {
|
|||||||
//adapter: PrismaAdapter(prisma),
|
//adapter: PrismaAdapter(prisma),
|
||||||
providers: [
|
providers: [
|
||||||
// register new URL at https://console.cloud.google.com/apis/credentials/oauthclient/926212607479-d3m8hm8f8esp3rf1639prskn445sa01v.apps.googleusercontent.com?project=grand-forge-108716
|
// register new URL at https://console.cloud.google.com/apis/credentials/oauthclient/926212607479-d3m8hm8f8esp3rf1639prskn445sa01v.apps.googleusercontent.com?project=grand-forge-108716
|
||||||
//Request details: redirect_uri=http://20.101.62.76:8005/api/auth/callback/google https://s.mwhitnessing.com/
|
//Request details: redirect_uri=http://20.101.62.76:8005/api/auth/callback/google https://s.mwitnessingmwitnessing.com/
|
||||||
GoogleProvider({
|
GoogleProvider({
|
||||||
clientId: process.env.GOOGLE_ID,
|
clientId: process.env.GOOGLE_ID,
|
||||||
clientSecret: process.env.GOOGLE_SECRET,
|
clientSecret: process.env.GOOGLE_SECRET,
|
||||||
|
@ -617,6 +617,7 @@ export async function filterPublishers(selectFields, searchText, filterDate, fet
|
|||||||
dayOfMonth: null,
|
dayOfMonth: null,
|
||||||
dayofweek: dayOfWeekEnum,
|
dayofweek: dayOfWeekEnum,
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user