-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor readme * move rancher-metrics * move caas-demoapp * refactor workflow * added needs param * use markdown compliant headers
- Loading branch information
Showing
11 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,20 @@ on: | |
types: [new-helm-chart-version] | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
|
||
steps: | ||
- name: Delete deployment | ||
uses: strumwolf/delete-deployment-environment@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: github-pages | ||
onlyRemoveDeployments: true | ||
update-charts: | ||
runs-on: ubuntu-latest | ||
needs: cleanup | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
@@ -26,6 +38,8 @@ jobs: | |
- name: Update Index File | ||
run: | | ||
mkdir -p ${{ github.event.client_payload.chart }} | ||
mv ${{ github.event.client_payload.chart }}*.tgz ${{ github.event.client_payload.chart }} | ||
helm repo index --url https://caas-team.github.io/helm-charts/ . | ||
git config user.name "github-actions" | ||
git config user.email "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.