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

Deploy App no Firebase Hosting #18

Merged
merged 7 commits into from
Dec 9, 2018
Merged

Deploy App no Firebase Hosting #18

merged 7 commits into from
Dec 9, 2018

Conversation

eduardomoroni
Copy link
Contributor

@eduardomoroni eduardomoroni commented Dec 8, 2018

@@ -8,6 +8,10 @@ ci-check:
build:
npm run build

deploy:
npm run build
@npx firebase deploy --token ${FIREBASE_DEPLOY_TOKEN}
Copy link
Contributor Author

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

Copy link
Contributor Author

@eduardomoroni eduardomoroni Dec 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
O CI executou o comando make web_deploy mas não da para ver nos logs o token.

@LeoMosiah LeoMosiah merged commit 7d9e8a8 into master Dec 9, 2018
@eduardomoroni eduardomoroni deleted the deploy-web branch December 10, 2018 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants