diff --git a/.forgejo/workflows/pull-requests.yml b/.forgejo/workflows/pull-requests.yml index 43c93a1..e797398 100644 --- a/.forgejo/workflows/pull-requests.yml +++ b/.forgejo/workflows/pull-requests.yml @@ -59,7 +59,10 @@ jobs: run: yarn build - name: Start Server - run: yarn preview & + run: | + export KUMA_USERNAME=${{ secrets.KUMA_USERNAME }} + export KUMA_PASSWORD=${{ secrets.KUMA_PASSWORD }} + yarn preview & - name: Run Unlighthouse for Desktop run: unlighthouse-ci --build-static --desktop --outputPath reports/desktop @@ -67,6 +70,8 @@ jobs: - name: Refresh Server run: | if ! pgrep -f "node /usr/bin/yarn" ; then + export KUMA_USERNAME=${{ secrets.KUMA_USERNAME }} + export KUMA_PASSWORD=${{ secrets.KUMA_PASSWORD }} yarn preview & fi diff --git a/Dockerfile b/Dockerfile index 70f8a65..899afca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ WORKDIR /app COPY --from=build /app . ENV NODE_ENV production +ENV KUMA_USERNAME '' +ENV KUMA_PASSWORD '' EXPOSE 8000 CMD ["yarn", "preview"] \ No newline at end of file