Refactor WEBMENTION_TOKEN handling: read from file and remove environment configuration
All checks were successful
Deploy / deploy (push) Successful in 1m17s
All checks were successful
Deploy / deploy (push) Successful in 1m17s
This commit is contained in:
parent
131c0e90bb
commit
553cc63023
3 changed files with 19 additions and 15 deletions
|
|
@ -11,9 +11,7 @@ RUN npm ci
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN echo "CONTAINER DEBUG: WEBMENTION_TOKEN length=${#WEBMENTION_TOKEN}"
|
||||
|
||||
RUN node -e "console.log('NODE sees WEBMENTION_TOKEN length:', (process.env.WEBMENTION_TOKEN || '').length)"
|
||||
RUN printf '%s' "${WEBMENTION_TOKEN}" > /app/.webmention-token
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue