feature/build (#1)
Co-authored-by: Tobias Klemp <tobias.klemp@v-office.com> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
31
.gitea/workflows/commentDeploy.yml
Normal file
31
.gitea/workflows/commentDeploy.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
name: ChatOps Deploy
|
||||
on: issue_comment
|
||||
|
||||
jobs:
|
||||
testing:
|
||||
# if: |
|
||||
# github.event.issue.pull_request &&
|
||||
# startsWith(github.event.comment.body, '/deploy') &&
|
||||
# (github.event.comment.author_association == 'OWNER' ||
|
||||
# github.event.comment.author_association == 'MEMBER')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- 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
|
||||
# uses: ./.github/actions/buildDockerImage
|
||||
# with:
|
||||
# tag: ${{ steps.branch_name.outputs.branch_name }}
|
||||
|
||||
# - name: Deploy application
|
||||
# uses: ./.github/actions/deploy
|
||||
# with:
|
||||
# project_name: ${{ steps.branch_name.outputs.branch_name }}
|
||||
# url: '${{ steps.branch_name.outputs.branch_name }}.phoenix.klemp.local'
|
||||
# image_url: ${{ steps.docker_build.outputs.image_url }}
|
||||
Reference in New Issue
Block a user