Files
phoenix/.gitea/workflows/commentDeploy.yml
Tobias Klemp a0b9e5b692
Some checks failed
CI / build-and-test (push) Failing after 2m54s
fix path
2026-01-01 19:39:09 +01:00

30 lines
914 B
YAML

name: ChatOps Deploy
on: issue_comment
jobs:
testing:
if: |
gitea.event.issue.pull_request &&
startsWith(gitea.event.comment.body, '/deploy')
runs-on: ubuntu-latest
steps:
- name: Get tag safe branch name
id: branch_name
uses: ./.gitea/actions/getTagSafeRef
- name: Print branch_name
run: echo "${{ 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 }}