Sha256: 48bd80a5d4eef901692b96030c0cebb9a0f1f7c9730ed4560be5fa66b07450c3
Contents?: true
Size: 873 Bytes
Versions: 1
Compression:
Stored size: 873 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 --use-cache - 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 - heroku run -x rails db:migrate
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
renuo-cli-2.0.0 | lib/renuo/cli/app/templates/semaphore/semaphore-deploy.yml.erb |