pass the commit hash through
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 33s

This commit is contained in:
Lee 2024-04-26 00:12:22 +01:00
parent 0a81c26d08
commit 75092d255d
2 changed files with 6 additions and 2 deletions

@ -21,6 +21,10 @@ WORKDIR /app
COPY --from=deps /app/node_modules ./node_modules COPY --from=deps /app/node_modules ./node_modules
COPY . . COPY . .
# Get the git commit hash
ARG GIT_REV
ENV GIT_REV ${GIT_REV}
# Set the environment to production # Set the environment to production
ENV NODE_ENV=production ENV NODE_ENV=production

@ -20,8 +20,8 @@ module.exports = {
plugins: [ plugins: [
new UserscriptPlugin({ new UserscriptPlugin({
metajs: false, metajs: false,
downloadBaseURL: 'https://ssu.fascinated.cc/scripts', downloadBaseURL: 'https://ssu.fascinated.cc/scripts/',
updateBaseURL: 'https://ssu.fascinated.cc/scripts', updateBaseURL: 'https://ssu.fascinated.cc/scripts/',
headers: { headers: {
name: "ScoreSaber Utils", name: "ScoreSaber Utils",
author: "fascinated7 (discord)", author: "fascinated7 (discord)",