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