Use the GITHUB_SECRET to authenticate with the API

Fix the environment variable

Add extra logging when using the authentication

Use the GITHUB_TOKEN on the frontend build step
This commit is contained in:
Felipe Knorr Kuhn
2023-07-21 18:14:32 +09:00
parent 61eeb82694
commit ca69d19bf7
2 changed files with 24 additions and 2 deletions

View File

@@ -55,8 +55,6 @@ jobs:
- name: Build
run: npm run build
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/backend
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
frontend:
if: "!contains(github.event.pull_request.labels.*.name, 'ops') && !contains(github.head_ref, 'ops/')"
@@ -101,3 +99,6 @@ jobs:
- name: Build
run: npm run build
working-directory: ${{ matrix.node }}/${{ matrix.flavor }}/frontend
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}