Deploy a Parse Server application to Back4App.com
1.3K
Deploy a Parse Server application to Back4App
Add the following snippet to the script section of your bitbucket-pipelines.yml file:
- pipe: docker://raschidjfr/b4a-deploy:latest
variables:
B4A_ACCOUNT_KEY: '<string>'
B4A_APP_NAME: '<string>'
CLOUD_PATH: '<string>' # Don't forget to include package.json inside
# PUBLIC_PATH: '<string>' # Optional
# MESSAGE: '<string>' #Optional
# DEBUG: '1' # Optional
| Variable | Description |
|---|---|
B4A_ACCOUNT_KEY (*) | Your account key for Back4App. Get one here |
B4A_APP_NAME (*) | The name of your app as it appears on your Back4App dashboard (currently no whitespace support!). See Create your first App at Back4App |
CLOUD_PATH (*) | Path to the folder containing main.js and package.json to be deployed |
PUBLIC_PATH | Path to a folder containing the files to be uploaded to the public folder on Back4App. Files in this folder will be served as a web hosting. See How can I use Back4App webhosting? |
MESSAGE | Optional message to attach as a description on the release. This will be shown by calling the B4A CLI: b4a releases |
(*) Required
This pipeline uses the Back4app CLI to upload Cloud Code to your B4A account.
Please refer to the Back4App's Cloud Code Getting Started guide for details.
script:
- cp package.json build # don't forget to add package.json!
- pipe: docker://raschidjfr/b4a-deploy:latest
variables:
B4A_ACCOUNT_KEY: $MY_B4A_ACCOUNT_KEY
B4A_APP_NAME: 'My Cool App'
CLOUD_PATH: 'build'
PUBLIC_PATH: 'assets'
DEBUG: '1'
For reporting bugs or feature requests, please use the repo's Issue Tracker
Content type
Image
Digest
sha256:417ee15dc…
Size
6.9 MB
Last updated
over 3 years ago
docker pull raschidjfr/b4a-deploy