Skip to content

Commit

Permalink
Merge branch 'master' into migarjo-patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Johnson committed Jan 13, 2021
2 parents c59eea5 + 78e5b60 commit ac8c6e6
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,25 @@ jobs:
if: ${{github.ref != 'ref/head/master'}}
runs-on: ubuntu-latest
steps:
- name: start deployment
uses: bobheadxi/deployments@v0.4.3
id: deployment
with:
step: start
token: ${{ secrets.GITHUB_TOKEN }}
env: release
- uses: actions/checkout@v2
- uses: akhileshns/heroku-deploy@v3.8.9 # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "migarjo-ruby-books-review"
heroku_email: "mjohn174@gmail.com"
- name: Update result to Deployment API
- name: update deployment status
uses: bobheadxi/deployments@v0.4.3
if: always()
uses: unacast/actions-github-deployment-status@0.4.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
step: finish
token: ${{ secrets.GITHUB_TOKEN }}
status: ${{ job.status }}
description: "Deployed to Review"
environment_url: "https://migarjo-ruby-books-review.herokuapp.com/"
env_url: "https://migarjo-ruby-books.herokuapp.com/"
deployment_id: ${{ steps.deployment.outputs.deployment_id }}

0 comments on commit ac8c6e6

Please sign in to comment.