Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate staging & production Netlify deployments #49

Open
Yukaii opened this issue Feb 16, 2022 · 1 comment
Open

Separate staging & production Netlify deployments #49

Yukaii opened this issue Feb 16, 2022 · 1 comment
Assignees

Comments

@Yukaii
Copy link
Contributor

Yukaii commented Feb 16, 2022

Staging ENV:

VUE_APP_DISFACTORY_API_URL=https://api.disfactory.tw/api
VUE_APP_SPOTDIFF_APP_URL=https://staging.api.spot.disfactory.tw

Production env

VUE_APP_DISFACTORY_API_URL=https://api.disfactory.tw/api
VUE_APP_SPOTDIFF_APP_URL=https://api.spot.disfactory.tw # 待確認
@Yukaii Yukaii self-assigned this Feb 16, 2022
@Yukaii
Copy link
Contributor Author

Yukaii commented Feb 16, 2022

https://docs.netlify.com/site-deploys/overview/#deploy-contexts

需要設定 netlify.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant