Skip to content

Commit

Permalink
umami
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichmax committed Aug 23, 2024
1 parent d5a6098 commit a7afc14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
secrets: |
"NEXT_PUBLIC_STRAPI_API_URL=${{ secrets.NEXT_PUBLIC_STRAPI_API_URL }}"
"NEXT_PUBLIC_MATOMO_URL=${{ secrets.NEXT_PUBLIC_MATOMO_URL }}"
"NEXT_PUBLIC_MATOMO_SITE_ID=${{ secrets.NEXT_PUBLIC_MATOMO_SITE_ID }}"
"NEXT_PUBLIC_UMAMI_WEBSITE_ID=${{ secrets.NEXT_PUBLIC_UMAMI_WEBSITE_ID }}"
"NEXT_PUBLIC_MATOMO_API_KEY=${{ secrets.NEXT_PUBLIC_MATOMO_API_KEY }}"
"NEXT_PUBLIC_WEBMENTION_KEY=${{ secrets.NEXT_PUBLIC_WEBMENTION_KEY }}"
"NEXT_PUBLIC_GEODATA_URL=${{ secrets.NEXT_PUBLIC_GEODATA_URL }}"
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ ENV NEXT_TELEMETRY_DISABLED 1

RUN --mount=type=secret,id=NEXT_PUBLIC_STRAPI_API_URL \
--mount=type=secret,id=NEXT_PUBLIC_MATOMO_URL \
--mount=type=secret,id=NEXT_PUBLIC_MATOMO_SITE_ID \
--mount=type=secret,id=NEXT_PUBLIC_MATOMO_API_KEY \
--mount=type=secret,id=NEXT_PUBLIC_UMAMI_WEBSITE_ID \
--mount=type=secret,id=NEXT_PUBLIC_WEBMENTION_KEY \
--mount=type=secret,id=NEXT_PUBLIC_GEODATA_URL \
--mount=type=secret,id=DASHBOARD_GITHUB_PAK \
export NEXT_PUBLIC_STRAPI_API_URL=$(cat /run/secrets/NEXT_PUBLIC_STRAPI_API_URL) && \
export NEXT_PUBLIC_MATOMO_URL=$(cat /run/secrets/NEXT_PUBLIC_MATOMO_URL) && \
export NEXT_PUBLIC_MATOMO_SITE_ID=$(cat /run/secrets/NEXT_PUBLIC_MATOMO_SITE_ID) && \
export NEXT_PUBLIC_MATOMO_API_KEY=$(cat /run/secrets/NEXT_PUBLIC_MATOMO_API_KEY) && \
export NEXT_PUBLIC_UMAMI_WEBSITE_ID=$(cat /run/secrets/NEXT_PUBLIC_UMAMI_WEBSITE_ID) && \
export NEXT_PUBLIC_WEBMENTION_KEY=$(cat /run/secrets/NEXT_PUBLIC_WEBMENTION_KEY) && \
export NEXT_PUBLIC_GEODATA_URL=$(cat /run/secrets/NEXT_PUBLIC_GEODATA_URL) && \
export DASHBOARD_GITHUB_PAK=$(cat /run/secrets/DASHBOARD_GITHUB_PAK) && \
Expand Down

0 comments on commit a7afc14

Please sign in to comment.