This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
name: ChatOps Deploy
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
on: issue_comment
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@@ -12,14 +10,12 @@ jobs:
|
||||
# github.event.comment.author_association == 'MEMBER')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: say hello
|
||||
if: contains(github.event.comment.body, '/deploy') # check the comment if it contains the keywords
|
||||
run: |
|
||||
echo say hello
|
||||
- name: Get tag safe branch name
|
||||
id: branch_name
|
||||
uses: ./.github/actions/getTagSafeRef
|
||||
|
||||
# - name: Get tag safe branch name
|
||||
# id: branch_name
|
||||
# uses: ./.github/actions/getTagSafeRef
|
||||
- name: Print branch_name
|
||||
run: ${{ steps.branch_name.outputs.branch_name }}
|
||||
|
||||
# - name: Build and push image
|
||||
# id: docker_build
|
||||
|
||||
Reference in New Issue
Block a user