diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 34bc0d9e2..7520668bb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,12 +1,12 @@ on: push: branches: - - main + - refine_workflow # pull_request: # branches: # - main jobs: - build: + build-app: environment: preview runs-on: ubuntu-latest @@ -30,6 +30,12 @@ jobs: TYPESENSE_API_KEY: ${{ secrets.TYPESENSE_API_KEY }} run: npm run build + build-push-docker: + environment: preview + runs-on: ubuntu-latest + needs: build-app + + steps: - name: Login to Docker Hub uses: docker/login-action@v3 with: @@ -58,8 +64,8 @@ jobs: # - name: Image Digest # run: echo ${{ steps.docker_build.outputs.digest }} - update-tag: - needs: build + update-helm-charts: + needs: [build-app, build-push-docker] environment: preview runs-on: ubuntu-latest steps: @@ -74,7 +80,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} REPO_NAME: 'docs-next-charts' REPO_OWNER: 'akyriako' - FILE_PATH: 'docusaurus/values.yaml' + FILE_PATH: 'charts/docusaurus/values.yaml' IMAGE_TAG: ${{ steps.commit_hash.outputs.short }}