Skip to content

Commit

Permalink
chore: add workflow to deploy on dev (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Dubovik <[email protected]>
  • Loading branch information
alexey-ban and adubovik authored Nov 7, 2023
1 parent f83ee51 commit 4fb51dd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/deploy_dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Deploy dev trigger

on:
registry_package:

jobs:
gitlab-dev-deploy:
if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }}
uses: epam/ai-dial-ci/.github/workflows/[email protected]
with:
gitlab-project-id: '1822'
gitlab-project-ref: 'master'
secrets:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
DEPLOY_TRIGGER_TOKEN: ${{ secrets.DEPLOY_TRIGGER_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/pr_check_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
run_tests:
uses: epam/ai-dial-ci/.github/workflows/[email protected].0
uses: epam/ai-dial-ci/.github/workflows/[email protected].1
with:
bypass_checks: false
python_version: 3.11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ env:

jobs:
release:
uses: epam/ai-dial-ci/.github/workflows/[email protected].0
uses: epam/ai-dial-ci/.github/workflows/[email protected].1
secrets: inherit

0 comments on commit 4fb51dd

Please sign in to comment.