jigglyjams
jigglyjams
RRailway
Created by jigglyjams on 5/7/2024 in #✋|help
Github Related Environment Variables missing
Got it! modified next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
env: {
RAILWAY_GIT_REPO_NAME: process.env.RAILWAY_GIT_REPO_NAME,
RAILWAY_GIT_COMMIT_SHA: process.env.RAILWAY_GIT_COMMIT_SHA,
RAILWAY_GIT_REPO_OWNER: process.env.RAILWAY_GIT_REPO_OWNER,
}
};

export default nextConfig;
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
env: {
RAILWAY_GIT_REPO_NAME: process.env.RAILWAY_GIT_REPO_NAME,
RAILWAY_GIT_COMMIT_SHA: process.env.RAILWAY_GIT_COMMIT_SHA,
RAILWAY_GIT_REPO_OWNER: process.env.RAILWAY_GIT_REPO_OWNER,
}
};

export default nextConfig;
Could be useful to add to docs somewhere
10 replies
RRailway
Created by jigglyjams on 5/7/2024 in #✋|help
Github Related Environment Variables missing
Do you know if its possible to access them from a nextjs project? Will they be prepended with NEXT_PUBLIC?
10 replies
RRailway
Created by jigglyjams on 5/7/2024 in #✋|help
Github Related Environment Variables missing
No description
10 replies
RRailway
Created by jigglyjams on 5/7/2024 in #✋|help
Github Related Environment Variables missing
c54e2141-8124-42c6-b31d-3158cb0a74a3
10 replies
RRailway
Created by jigglyjams on 2/8/2023 in #✋|help
Using SQL pool for multiple requests
9a03efbe-e496-4faa-b81c-64eb67a5f65d
4 replies
RRailway
Created by jigglyjams on 10/1/2022 in #✋|help
Force rebuild without pushing to github?
I made a file called poke and just increase a number in there. then railway up works effectively
6 replies
RRailway
Created by jigglyjams on 10/1/2022 in #✋|help
Force rebuild without pushing to github?
Darn doesnt look like this is triggering a redeploy anymore
6 replies
RRailway
Created by jigglyjams on 10/1/2022 in #✋|help
Force rebuild without pushing to github?
Thanks! Ill try these
6 replies