Sha256: 045ecda11965eb773d9d1ba07239f9111ca1628ec0c0c8a2c309ee8de8837526

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

version: v1.0
name: <%= environment %>-deploy
agent:
  machine:
    type: e1-standard-2
    os_image: ubuntu1804

blocks:
  - name: <%= environment %>-deploy
    task:
      secrets:
        - name: heroku-deploy
      env_vars:
        - name: HEROKU_REMOTE
          value: https://git.heroku.com/<%= project_name %>-<%= environment %>.git
      jobs:
        - name: <%= environment %>-deploy
          commands:
            - checkout
            - ssh-keyscan -H heroku.com >> ~/.ssh/known_hosts
            - chmod 600 ~/.ssh/id_rsa_semaphore_heroku
            - ssh-add ~/.ssh/id_rsa_semaphore_heroku
            - git config --global url.ssh://git@heroku.com/.insteadOf https://git.heroku.com/
            - git remote add heroku $HEROKU_REMOTE
            - git push heroku -f $SEMAPHORE_GIT_BRANCH:master

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
renuo-cli-1.7.0 lib/renuo/cli/app/templates/semaphore-deploy.yml.erb