staticwebdev / nextjs-starter

A Next.js starter application for deploying to Azure Static Web Apps
https://docs.microsoft.com/azure/static-web-apps/deploy-nextjs
31 stars 27 forks source link

Store reports - Action failed with "not found deploy key or tokens" #35

Open bremnes opened 2 years ago

bremnes commented 2 years ago

Following the tutorial at https://docs.microsoft.com/en-us/azure/static-web-apps/deploy-nextjs causes the github action/build Playwright tests to fail on the steps "store reports" and "notify dashboard". I'm not familiar with these actions, but it looks like there is some publishing going on to mspnp/intern-js-pipeline which I'm assuming all users don't have access to.

...
    - name: Publish to external repo
      if: always()
      uses: peaceiris/actions-gh-pages@v3.7.3
      with:
        external_repository: mspnp/intern-js-pipeline
        publish_branch: gh-pages
        personal_token: ${{ secrets.PAT_TOKEN }}
        publish_dir: ${{steps.download.outputs.download-path}}
        destination_dir: test-reports/${{ github.repository }}
        keep_files: true
        user_name: "github-actions[bot]"
        user_email: "github-actions[bot]@users.noreply.github.com"
...

image

Related PR: https://github.com/staticwebdev/nextjs-starter/pull/34

Misc.:

Let me know if you need any more input.

nimakamoosi commented 1 year ago

Hitting the same issue with the blazor variation of the same get started topic.

nitya commented 1 year ago

All samples should have the test scripts and related actions removed now - do let me know if you continue to see issues.