Skip to content

Commit

Permalink
Test 1
Browse files Browse the repository at this point in the history
Signed-off-by: bakhtin <[email protected]>
  • Loading branch information
bakhtin committed Aug 11, 2023
1 parent 7624824 commit 05d74f4
Showing 1 changed file with 37 additions and 11 deletions.
48 changes: 37 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Release Charts
on:
push:
branches:
- main
# - main
- ab-test-gh-app

jobs:
release:
Expand All @@ -19,18 +20,43 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/[email protected]
# - name: Install Helm
# uses: azure/[email protected]
# with:
# version: v3.12.1

# - name: Install additional Helm repos
# run: |
# helm repo add bitnami https://charts.bitnami.com/bitnami

- name: Generate JWT and token
id: generate-github-app-tokens
uses: jamestrousdale/[email protected]
with:
version: v3.12.1
app-id: ${{ secrets.CHART_UPDATER_APP_ID }}
private-key: ${{ secrets.CHART_UPDATER_APP_KEY }}

- name: Install additional Helm repos
- name: Set environment from action output
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
{
echo "GITHUB_APP_JWT=${{ steps.generate-github-app-tokens.outputs.jwt }}"
echo "GITHUB_APP_ACCESS_TOKEN=${{ steps.generate-github-app-tokens.outputs.access-token }}"
} >> ${GITHUB_ENV}
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Make changes
run: |
date > current-date.txt
- name: Commit & Push changes
uses: actions-js/push@master
with:
charts_dir: charts
github_token: "$GITHUB_APP_ACCESS_TOKEN"
message: Test gh-pages
branch: gh-pages-test

# - name: Run chart-releaser
# uses: helm/[email protected]
# env:
# CR_TOKEN: "$GITHUB_APP_ACCESS_TOKEN"
# with:
# charts_dir: charts

0 comments on commit 05d74f4

Please sign in to comment.