Sha256: 021f991bca70c2780461f942650db00ce63a51730be2201a86a5ce33df03ec97
Contents?: true
Size: 905 Bytes
Versions: 3
Compression:
Stored size: 905 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:main - heroku run -x rails db:migrate - heroku dyno:restart
Version data entries
3 entries across 3 versions & 1 rubygems