Skip to content

Commit

Permalink
update example to show release id from build step
Browse files Browse the repository at this point in the history
  • Loading branch information
camerondgray committed Nov 13, 2019
1 parent 261fd23 commit a93a885
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This Action runs a [One-off Command](https://docs.convox.com/management/one-off-
```
steps:
- name: login
id: login
uses: convox/action-login@v1
with:
password: ${{ secrets.CONVOX_DEPLOY_KEY }}
Expand All @@ -25,16 +26,20 @@ steps:
with:
rack: staging
app: myapp
- name: run
- name: migrate
id: migrate
uses: convox/action-run@v1
with:
rack: staging
app: myapp
service: web
command 'rake db:migrate'
release: ${{ steps.build.outputs.release }}
- name: promote
id: promote
uses: convox/action-promote@v1
with:
rack: staging
app: myapp
release: ${{ steps.build.outputs.release }}
```

0 comments on commit a93a885

Please sign in to comment.