Deploy to Edgio
⚠️ Deprecated
As of Redwood v7, we are deprecating this deploy setup as an "officially" supported provider. This means:
- For projects already using this deploy provider, there will be NO change at this time
- Both the associated
setup
anddeploy
commands will remain in the framework as is; when setup is run, there will be a “deprecation” message- We will no longer run CI/CD on the Edgio deployments, which means we are no longer guaranteeing this deploy works with each new version
If you have concerns or questions about our decision to deprecate this deploy provider please reach out to us on our community forum.
Edgio extends the capabilities of a traditional CDN by not only hosting your static content, but also providing server-side rendering for progressive web applications as well as caching both your APIs and HTML at the network edge to provide your users with the fastest browsing experience.
Edgio Deploy Setup
In order to deploy your RedwoodJS project to Edgio, the project must first be initialized with the Edgio CLI.
- In your project, run the command
yarn rw setup deploy edgio
. - Verify the changes to your project, commit and push to your repository.
- Deploy your project to Edgio
- If this is your first time deploying to Edgio, the interactive CLI will prompt to authenticate using your browser. You can start the deploy by running
yarn rw deploy edgio
. - If you are deploying from a non-interactive environment, you will need to create an account on Edgio Developer Console first and setup a deploy token. Once the deploy token is created, save it as a secret to your environment. You can start the deploy by running
yarn rw deploy edgio --token=XXX
. - Follow the link in the output to view your site live once deployment has completed!
For more information on deploying to Edgio, check out the documentation.