Files
phoenix/.gitea/workflows/commentDeploy.yml
Tobias Klemp 0b523e75fd
Some checks failed
CI / build-and-test (push) Failing after 2m53s
fix path again
2026-01-01 19:04:57 +01:00

30 lines
907 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: ${{ 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 }}