Skip to content

Conversation

janpio
Copy link
Contributor

@janpio janpio commented Mar 26, 2023

Part of #3431

@janpio janpio changed the title what happens if this test does not push to prod? Netlify CLI: what happens if this test does not push to prod? Mar 26, 2023
@janpio
Copy link
Contributor Author

janpio commented Mar 26, 2023

URL is returned in the CLI output:

$ /home/runner/work/ecosystem-tests/ecosystem-tests/platforms-serverless/netlify-cli/node_modules/.bin/netlify deploy --dir=. --functions=functions-build
Deploy path:        /home/runner/work/ecosystem-tests/ecosystem-tests/platforms-serverless/netlify-cli
Functions path:     /home/runner/work/ecosystem-tests/ecosystem-tests/platforms-serverless/netlify-cli/functions-build
Configuration path: /home/runner/work/ecosystem-tests/ecosystem-tests/platforms-serverless/netlify-cli/netlify.toml
Deploying to draft URL...
- Hashing files...
- Looking for a functions cache...
✔ No cached functions were found
✔ Finished hashing 23 files and 1 functions
- CDN diffing files...
✔ CDN requesting 1 files and 1 functions
- Uploading 2 files
✔ Finished uploading 2 assets
- Waiting for deploy to go live...
✔ Deploy is live!
Logs:              https://app.netlify.com/sites/prisma-ecosystem-tests-netlify-cli/deploys/6420713940a9a14a6d4ef20b
Website Draft URL: https://6420713940a9a14a6d4ef20b--prisma-ecosystem-tests-netlify-cli.netlify.app
If everything looks good on your draft URL, deploy it to your main site URL with the --prod flag.
netlify deploy --prod
Done in 12.94s.

Relevant bit:

Website Draft URL: https://6420713940a9a14a6d4ef20b--prisma-ecosystem-tests-netlify-cli.netlify.app

We would need to parse that from the output somehow to later be able to check if the URL works.

Base automatically changed from janpio-patch-10 to dev March 27, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant