From 86e37d7dbd2e1b0cce991b9dac88000a8b1d56bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rialland?= Date: Tue, 6 Jun 2023 14:09:28 +0200 Subject: [PATCH] fix github action --- .github/workflows/update-stats.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/update-stats.yaml b/.github/workflows/update-stats.yaml index fc66754e5..067d94d23 100644 --- a/.github/workflows/update-stats.yaml +++ b/.github/workflows/update-stats.yaml @@ -22,6 +22,16 @@ jobs: CRISP_WEBSITE_ID: ${{ secrets.CRISP_WEBSITE_ID }} - run: ls -la site/source/public/data - run: yarn workspace site run postinstall + env: + # Secrets of all kinds for fetching stats & releases + GITHUB_API_SECRET: ${{ secrets.GITHUB_TOKEN }} + ZAMMAD_API_SECRET_KEY: ${{ secrets.ZAMMAD_API_SECRET_KEY }} + ATINTERNET_API_SECRET_KEY: ${{ secrets.ATINTERNET_API_SECRET_KEY }} + ATINTERNET_API_ACCESS_KEY: ${{ secrets.ATINTERNET_API_ACCESS_KEY }} + PLAUSIBLE_API_KEY: ${{ secrets.PLAUSIBLE_API_KEY }} + CRISP_API_IDENTIFIER: ${{ secrets.CRISP_API_IDENTIFIER }} + CRISP_API_KEY: ${{ secrets.CRISP_API_KEY }} + CRISP_WEBSITE_ID: ${{ secrets.CRISP_WEBSITE_ID }} - run: cp site/source/public/data/stats.json site/source/public/data/base-stats.json - run: git status - name: Create Pull Request