From a93a885775ae81fa0bea7f0922fce44172ab24e6 Mon Sep 17 00:00:00 2001 From: camerongray <868953+camerondgray@users.noreply.github.com> Date: Wed, 13 Nov 2019 14:56:40 -0800 Subject: [PATCH] update example to show release id from build step --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 94c29f4..cf8c366 100644 --- a/README.md +++ b/README.md @@ -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 }} @@ -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 }} ``` \ No newline at end of file