Advertisement
Guest User

Untitled

a guest
Jul 1st, 2018
811
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.81 KB | None | 0 0
  1. # This is a sample build configuration for PHP.
  2. # Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
  3. # Only use spaces to indent your .yml configuration.
  4. # -----
  5. # You can specify a custom docker image from Docker Hub as your build environment.
  6.  
  7. image: php:7.1.3
  8. pipelines:
  9.   default:
  10.     - step:
  11.         script:
  12.          - apt-get update
  13.           - apt-get install -y git
  14.           #- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
  15.           #- composer require monolog/monolog
  16.           #- composer install
  17.  
  18.     - step:
  19.         name: Deploy to Heroku
  20.         deployment: test   # set to test, staging or production
  21.         script:
  22.          - git push https://heroku:$HEROKU_API_KEY@git.heroku.com/$HEROKU_APP_NAME.git HEAD
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement