From 4d47dc128a722d9a771e3d509fbf389c5f807925 Mon Sep 17 00:00:00 2001 From: Joey Greco <57115019+joeyagreco@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:00:38 -0700 Subject: [PATCH] Add Workflow Back (#292) --- .github/workflows/deploy-chart.yaml | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/deploy-chart.yaml diff --git a/.github/workflows/deploy-chart.yaml b/.github/workflows/deploy-chart.yaml new file mode 100644 index 00000000..7b061ece --- /dev/null +++ b/.github/workflows/deploy-chart.yaml @@ -0,0 +1,30 @@ +name: Release Chart +on: + push: + branches: + - main + paths: + - 'helm/agent/**' + +jobs: + release-chart: + name: Chart release + runs-on: ubuntu-latest + environment: prod + permissions: + id-token: write + contents: read + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Configure AWS Credentials + uses: aws-actions/configure-aws-credentials@v1 + with: + aws-region: us-west-2 + role-to-assume: ${{ secrets.AWS_ROLE }} + - name: Helm release + uses: superblocksteam/helm-release-action@v0.3 + with: + repo: s3://superblocks-public-helm-repo/superblocks + chart: ./helm/agent + forceRelease: false