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