Replies: 2 comments
-
Am I the only person with that problem? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a nextjs app and I use github actions for the pipelines. So everytime I push changes on the branch, vercel build the nextjs application and this triggeres the following code:
The application is behind a middleware which allows to bypass the authentication if the
x-ci-shared-secret
field is set in the header. The only problem is now: How can I pass the header informations in the lhci autorun?It looks like the code above does not work. I also tried to hand over something like
--extraHeaders="{x-ci-shared-secret:${{ secrets.CI_SHARED_SECRET }}"
which also did not work.The code of the app works fine, I am just struggeling with the way of handing over the headers inside af an github action yml. Any ideas or examples?
Beta Was this translation helpful? Give feedback.
All reactions