diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e8beebbb..51e92607 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ on: branches: [main] env: HUSKY: 0 + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} concurrency: group: ${{ github.head_ref || github.run_id }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 30892f14..41031a92 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,8 @@ name: Valintojen toteuttaminen deploy env: HUSKY: 0 + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + permissions: id-token: write contents: read