Skip to content

Commit

Permalink
fix(github): test cd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hfreire committed Oct 23, 2019
1 parent eedc65e commit 3f9cb38
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cd

on:
release:
types: [created]
types: [published]

jobs:
deploy:
Expand All @@ -12,10 +12,11 @@ jobs:
env:
CI: true
TF_IN_AUTOMATION: true
VERSION: ${{ github.ref }}
VERSION_COMMIT: ${{ github.sha }}

steps:
- name: Set VERSION env var
run: echo ::set-env name=VERSION::${GITHUB_REF##*/}
- uses: actions/checkout@v1
with:
ref: ${{ github.ref }}
Expand Down

0 comments on commit 3f9cb38

Please sign in to comment.