stages:
    - deploy

deploy:
    stage: deploy
    script:
        - echo Deploying production on ${PROD_HOST}...
        - ssh -o StrictHostKeyChecking=no -i ${PROD_KEY} ${PROD_USER}@${PROD_HOST} ${PROD_SCRIPT}
    only:
        - master
