Skip to content

Commit

Permalink
Merge pull request #37 from simplybusiness/add-doc-for-new-version
Browse files Browse the repository at this point in the history
Add documentation on how to use it
  • Loading branch information
Punit Jain authored Oct 5, 2021
2 parents 518e6c4 + 3e8feb2 commit 5a8b1ac
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,28 @@ Dobby requires a Github App to be installed either on an individual repository o

```yaml

name: "dobby action"
name: "Dobby action"
on:
issue_comment:
types: [created]
jobs:
pr_commented:
runs-on: ubuntu-20.04
if: startsWith(github.event.comment.body, '/dobby')

env:
BUNDLE_WITHOUT: "development:test"
steps:
- name: bump version
uses: simplybusiness/[email protected]
- name: Chekcout action
uses: actions/checkout@v2
with:
repository: 'simplybusiness/dobby'
ref: 'v3.0.0'
- name: Set up ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Bump version
uses: simplybusiness/[email protected]
env:
DOBBY_APP_ID: ${{ secrets.DOBBY_APP_ID }}
DOBBY_PRIVATE_KEY: ${{ secrets.DOBBY_PRIVATE_KEY }}
Expand Down

0 comments on commit 5a8b1ac

Please sign in to comment.