Deploy to Google Cloud Storage
Buddy turns deployments into a breeze, allowing you to update your assets in the Google Cloud on every push to branch. You can also deploy manually on click, or recurrently on time intervals.
Image loading...
Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Configure pipeline in Buddy
- Create a new project in Buddy and select your Git provider:
Image loading...
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...
Configure GCS deployment
Warning
Before you add the action, make sure that your Google service account has proper GCS policies configured.
- Look up and click Google Cloud Storage on the action list:
Image loading...
- The action has four configuration tabs:
- Transfer – here you define the source path, select the deployment bucket, flags and content encoding, and the files to ignore
- Target – here you select the Google Cloud integration and define what and where should be deployed
- Conditions – here you configure the trigger conditions for which the action will run
- Options – here you define the action's name and behavior on failure and timeout
Warning
If you are using build actions in your pipeline, make sure to select the Filesystem as the source to deploy artifacts and processed files.
Image loading...
Hint
Buddy's deployment is based on changesets. This means only changed files are deployed, which makes it lightning fast ⚡️. The first deployment is always performed from scratch, unless you set a revision on the server beforehand.
When ready, click Add this action to finish configuration.
(Optional) You can also add the Google CDN action at the end of the pipeline to invalidate Google CDN's cache upon every deployment:
Image loading...
Success
Congratulations! You have just automated your deployment to Google Cloud Storage. 🥳
Last modified on Sep 24, 2024