This commit is contained in:
@@ -2,7 +2,7 @@ name: ChatOps Deploy
|
|||||||
on: issue_comment
|
on: issue_comment
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
testing:
|
FeatureDeployment:
|
||||||
if: |
|
if: |
|
||||||
gitea.event.issue.pull_request &&
|
gitea.event.issue.pull_request &&
|
||||||
startsWith(gitea.event.comment.body, '/deploy')
|
startsWith(gitea.event.comment.body, '/deploy')
|
||||||
@@ -15,13 +15,13 @@ jobs:
|
|||||||
id: branch_name
|
id: branch_name
|
||||||
uses: ./.gitea/actions/getTagSafeRef
|
uses: ./.gitea/actions/getTagSafeRef
|
||||||
|
|
||||||
- name: Build and push image
|
# - name: Build and push image
|
||||||
id: docker_build
|
# id: docker_build
|
||||||
uses: ./.gitea/actions/build
|
# uses: ./.gitea/actions/build
|
||||||
with:
|
# with:
|
||||||
tag: ${{ steps.branch_name.outputs.branch_name }}
|
# tag: ${{ steps.branch_name.outputs.branch_name }}
|
||||||
REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
# REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||||
REGISTRY_USER: ${{ gitea.actor }}
|
# REGISTRY_USER: ${{ gitea.actor }}
|
||||||
|
|
||||||
# - name: Deploy application
|
# - name: Deploy application
|
||||||
# uses: ./.gitea/actions/deploy
|
# uses: ./.gitea/actions/deploy
|
||||||
@@ -64,7 +64,7 @@ jobs:
|
|||||||
PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }}
|
PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }}
|
||||||
COMPOSE_PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }}
|
COMPOSE_PROJECT_NAME=${{ steps.branch_name.outputs.branch_name }}
|
||||||
TOLGEE_API_URL=${{ vars.TOLGEE_API_URL }}
|
TOLGEE_API_URL=${{ vars.TOLGEE_API_URL }}
|
||||||
TOLGEE_API_KEY=${{ secres.TOLGEE_API_KEY }}
|
TOLGEE_API_KEY=${{ secret.TOLGEE_API_KEY }}
|
||||||
TRANSLATION_CACHE_TTL=${{ vars.TRANSLATION_CACHE_TTL }}
|
TRANSLATION_CACHE_TTL=${{ vars.TRANSLATION_CACHE_TTL }}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user