mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
ci: Update CI
This commit is contained in:
parent
8703597123
commit
7798202759
16 changed files with 102 additions and 71 deletions
29
.github/workflows/charts-release-ghpages.yaml
vendored
29
.github/workflows/charts-release-ghpages.yaml
vendored
|
@ -76,12 +76,23 @@ jobs:
|
|||
helm repo index . --url https://bjw-s.github.io/helm-charts/
|
||||
|
||||
- name: Commit changes
|
||||
shell: bash
|
||||
working-directory: dest
|
||||
run: |
|
||||
git config user.name "bjw-s-bot[bot]"
|
||||
git config user.email "bjw-s-bot <87358111+bjw-s-bot[bot]@users.noreply.github.com>"
|
||||
git add $(git ls-files -o --exclude-standard)
|
||||
git add index.yaml
|
||||
git commit -m "Updated from ref: $GITHUB_SHA"
|
||||
git push
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
id: auto-commit
|
||||
with:
|
||||
repository: dest
|
||||
branch: gh-pages
|
||||
commit_user_name: "bjw-s-bot[bot]"
|
||||
commit_user_email: 87358111+bjw-s-bot[bot]@users.noreply.github.com
|
||||
commit_author: bjw-s-bot[bot] <87358111+bjw-s-bot[bot]@users.noreply.github.com>
|
||||
file_pattern: 'index.yaml **/*.tgz'
|
||||
disable_globbing: true
|
||||
|
||||
- name: Wait for deploy
|
||||
uses: jchen1/wait-for-green@v1.0.7
|
||||
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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue