diff --git a/.gitea/workflows/commentDeploy.yml b/.gitea/workflows/commentDeploy.yml index ed679d2..ce87f71 100644 --- a/.gitea/workflows/commentDeploy.yml +++ b/.gitea/workflows/commentDeploy.yml @@ -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