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