Sha256: 57d3196fe53ead52720768a8652c0c5733ac8b5dd1697c1a957ca77bb9631a87

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 Bytes

Contents

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

blocks:
  - name: <%= environment %>-deploy
    task:
      secrets:
        - name: heroku-http
      env_vars:
        - name: HEROKU_APP_NAME
          value: <%= project_name %>-<%= environment %>
      jobs:
        - name: <%= environment %>-deploy
          commands:
            - checkout --use-cache
            - heroku git:remote -a $HEROKU_APP_NAME
            - git push heroku -f $SEMAPHORE_GIT_BRANCH:master
            - if heroku run -x rails db:migrate; then heroku dyno:restart; else heroku rollback; exit -1; fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
renuo-cli-3.1.7 lib/renuo/cli/app/templates/semaphore/semaphore-deploy.yml.erb
renuo-cli-3.1.6 lib/renuo/cli/app/templates/semaphore/semaphore-deploy.yml.erb
renuo-cli-3.1.5 lib/renuo/cli/app/templates/semaphore/semaphore-deploy.yml.erb