Skip to content

Commit

Permalink
fix: updating release-deploy to depend on lint-test-build and adding …
Browse files Browse the repository at this point in the history
…steps
  • Loading branch information
voodooGQ committed Feb 12, 2024
1 parent 893591a commit 020d3dd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-test-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Lint-Test-Build
on:
workflow_call:
workflow_dispatch:
pull_request:

jobs:
lint_test_build:
name: Lint, Test, Build
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,18 @@ on:
branches:
- main
- develop
- PRODENG-1577/kube_deployment


concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
release_deploy:
name: Release and Deploy
lint-test-build:
uses: ./lint-test-build.yml

setup:
needs: [lint-test-build]
runs-on: ubuntu-latest
steps:
# Envs based on the current branch
Expand Down Expand Up @@ -85,6 +93,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

build_an_push:
needs: [setup]
runs-on: ubuntu-latest
steps:
# Docs Site
- name: Build and push docs site
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 020d3dd

Please sign in to comment.