-
I've gone through the setup for github pages deploy and astro studio deploy and everything seems to be working except that for the --remote flag in the build command, Astro CLI needs to log in to Studio to handle verifying and pushing db changes. Is there any other way to authenticate before running the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can follow this guide on how to deploy connecting to Studio. More specifically, to authenticate to Astro Studio you need an app token. You then add that app token in an For GH pages you need to add that as a secret and then expose the secret as an env var with: env:
ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }} |
Beta Was this translation helpful? Give feedback.
Yes, you can follow this guide on how to deploy connecting to Studio.
More specifically, to authenticate to Astro Studio you need an app token. You then add that app token in an
ASTRO_STUDIO_APP_TOKEN
environment variable when runningastro build --remote
.For GH pages you need to add that as a secret and then expose the secret as an env var with: