Skip to content

Commit

Permalink
fix: Should trigger the docker release from release-feature-branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravali-rimmalapudi committed Nov 12, 2021
1 parent 0b5103c commit 5e81929
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,26 +90,26 @@ jobs:
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}
INPUTS: '{ "home-brew-branch": "${{github.event.inputs.homebrew-branch}}", "tag-name": "${{needs.release.outputs.tag-name}}", "pre-release": "${{github.event.inputs.homebrew-prerelease}}"}'
# docker-release:
# runs-on: ubuntu-latest
# needs: [ release ]
# steps:
# - name: Checkout cli repo
# uses: actions/checkout@v2
# - run: |
# git pull
# npm install
# - name: Extract branch name
# id: extract_branch
# run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
# - name: Invoke Docker workflow
# if: ${{needs.release.outputs.tag-name != ''}}
# run: node .github/scripts/trigger-workflow.js
# env:
# WORKFLOW_NAME: 'docker-release.yml'
# REPO_NAME: twilio/twilio-cli
# REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
# BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}
docker-release:
runs-on: ubuntu-latest
needs: [ release ]
steps:
- name: Checkout cli repo
uses: actions/checkout@v2
- run: |
git pull
npm install
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Invoke Docker workflow
if: ${{needs.release.outputs.tag-name != ''}}
run: node .github/scripts/trigger-workflow.js
env:
WORKFLOW_NAME: 'docker-release.yml'
REPO_NAME: twilio/twilio-cli
REPO_ACCESS_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
BRANCH_NAME: ${{steps.extract_branch.outputs.branch}}
platform-executables-release:
runs-on: ubuntu-latest
needs: [ release ]
Expand Down

0 comments on commit 5e81929

Please sign in to comment.