How to use the environment variables in the deployed GitHub pages using Next.js? #112
-
To prevent using - name: Build Next.js
env:
BASE_PATH: ${{ secrets.BASE_PATH }} The environment variable |
Beta Was this translation helpful? Give feedback.
Answered by
james-gates-0212
Mar 30, 2024
Replies: 1 comment 1 reply
-
Hello, @poxii |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
poxii
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, @poxii
It seems to use the secret variables on the GitHub page environment.
It can work if you use the repository's secret variables instead of the GitHub page environment's secret variables.
I hope it helps your work.
Thank you.