-
Notifications
You must be signed in to change notification settings - Fork 1
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
Deploy App no Firebase Hosting #18
Conversation
@@ -8,6 +8,10 @@ ci-check: | |||
build: | |||
npm run build | |||
|
|||
deploy: | |||
npm run build | |||
@npx firebase deploy --token ${FIREBASE_DEPLOY_TOKEN} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No makefile quando voce começa um commando com @
este comando não vai ser mostrado na tela. Eu fiz isso porque estamos usando uma variavel de ambiente para fazer o deploy. Se alguem pegar esse token, a pessoa consegue ter acesso ao nosso projeto.
${VARIAVEL_DE_AMBIENTE}
é a maneira de se usar uma variavel de ambiente com makefile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mergea #17 antes.
https://trading-card-manager-mtgx.firebaseapp.com/