diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0593968..8ff00b2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,29 +10,13 @@ on: - 'feature/**' jobs: - get-version: - name: Determine Next Version - runs-on: ubuntu-latest - permissions: write-all - if: github.event.pull_request.merged == true - outputs: - version: ${{ steps.version.outputs.next_version }} - steps: - - uses: actions/checkout@v4 - - - name: Determine next version - id: version - uses: Aignosi/github_workflow_templates/.github/actions/determine-next-version@main - with: - branch_name: ${{ github.event.pull_request.head.ref }} - deploy: name: Deploy - needs: [get-version] + if: github.event.pull_request.merged == true permissions: write-all uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main with: - version: ${{ needs.get-version.outputs.version }} + branch_name: ${{ github.event.pull_request.head.ref }} project_type: 'python' image_name: 'sientia-dataops-model-manager' helm_chart_path: 'sientia-module' @@ -45,4 +29,5 @@ jobs: helm_repo_url: 'https://raw.githubusercontent.com/Aignosi/sientia-dataops-helm-repo/refs/heads/main/' helm_chart_version: '0.6.0' helm_values_file: './values.yaml' + use_vpn: true secrets: inherit