From 3a386aed12f4440bdd986e886de103f7c53ddfd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Mon, 3 Oct 2022 13:55:44 +0200 Subject: [PATCH] ci: Update CI --- .github/workflows/charts-release-ghpages.yaml | 7 +++---- .github/workflows/charts-release.yaml | 20 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/charts-release-ghpages.yaml b/.github/workflows/charts-release-ghpages.yaml index 8e519752..f3f71b78 100644 --- a/.github/workflows/charts-release-ghpages.yaml +++ b/.github/workflows/charts-release-ghpages.yaml @@ -88,11 +88,10 @@ jobs: disable_globbing: true - name: Wait for deploy - uses: jchen1/wait-for-green@v1.0.7 + uses: fountainhead/action-wait-for-check@v1.0.0 if: ${{ steps.auto-commit.outputs.changes_detected }} id: wait-for-deploy with: token: ${{ steps.get-app-token.outputs.token }} - commit: ${{ steps.auto-commit.outputs.commit_hash }} - # Ignore the job we're running on lest we create an infinite loop - ignored_checks: 'wait-for-deploy' + ref: ${{ steps.auto-commit.outputs.commit_hash }} + checkName: deploy diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 7922c0e6..19dcccb5 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -41,7 +41,7 @@ jobs: repoConfigFile: ./.ci/repo-config.yaml overrideCharts: "[${{ inputs.charts }}]" - release-gh-pages-library: + release-library-charts: name: Release Library charts to GitHub pages uses: ./.github/workflows/charts-release-ghpages.yaml needs: @@ -50,12 +50,12 @@ jobs: charts: "${{ needs.prepare.outputs.libraryChartsToRelease }}" secrets: inherit - # release-gh-pages: - # name: Release Application Charts to GitHub pages - # uses: ./.github/workflows/charts-release-ghpages.yaml - # needs: - # - prepare - # - release-gh-pages-library - # with: - # charts: "${{ needs.prepare.outputs.applicationChartsToRelease }}" - # secrets: inherit + release-application-charts: + name: Release Application charts to GitHub pages + uses: ./.github/workflows/charts-release-ghpages.yaml + needs: + - prepare + - release-library-charts + with: + charts: "${{ needs.prepare.outputs.applicationChartsToRelease }}" + secrets: inherit