Hi, thanks :) Helped me while deploying my Nuxtjs static web app to Github Pages.
There was just one difference that I should create my secrets in github-pages environment (github.com/[USERNAME]/[REPOSITORY]...).
And then add env section to generate step with my secrets like this:
- name: Generate env: GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} GOOGLE_API_URL: ${{ secrets.GOOGLE_API_URL }} run: yarn run generate
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi, thanks :)
Helped me while deploying my Nuxtjs static web app to Github Pages.
There was just one difference that I should create my secrets in github-pages environment (github.com/[USERNAME]/[REPOSITORY]...).
And then add env section to generate step with my secrets like this: