You can use the Wix CLI in your preferred automated workflow environment by authenticating it with an API key. For example, you can create GitHub Actions workflows to streamline and automate site development tasks, such as creating preview deployments and publishing updates to your site.
Learn how to Set Up GitHub Actions to Work with the Wix CLI.
Setting up GitHub Actions workflows to work with the Wix CLI allows you to streamline and automate site development procedures. Some suggested workflows include:
Create a preview deployment: Build a live, shareable preview version of your site whenever a new pull request is opened, based the updated code in the pull request's branch.
Publish when pushing changes: Automatically publish your site whenever changes are pushed to the default branch of your site's repo.