Hello Guys,
Just in case some of you here already did this, we want our codes to be deployed into our meteor galaxy server every time we do git push. Is it possible?
Thanks in advance!
Yes. What automation tools do you have on the meteor galaxy server?
If you want to do things on a git push, you are going to need something that can do things on that server when triggered by the push.
We can't begin to tell you how to do something until we know what tools you have to do it with.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using pipelines of bitbucket, we just put in there the meteor commands for deployment. Is that you are asking? See below. Actually, we can deploy it already however seems like the files that are pushed through the server are incomplete that's why the galaxy failed to build it.
image: node:6.11.2
pipelines:
default:
- step:
caches:
- node
deployment: production # can be test, staging or production.
script: # Modify the commands below to build your repository.
- curl https://install.meteor.com/ | sh
- meteor npm install
- export METEOR_NO_RELEASE_CHECK=true
- export METEOR_ALLOW_SUPERUSER=true
- export METEOR_SESSION_FILE=deployment_token.json
- readlink $HOME/.meteor/meteor
- METEOR_SESSION_FILE=deployment_token.json DEPLOY_HOSTNAME=us-east-1.galaxy-deploy.meteor.com meteor deploy our.site.com.au --settings ./settings.json
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.