Skip to content

This should cause a new chart release #75

This should cause a new chart release

This should cause a new chart release #75

Workflow file for this run

name: Publish charts
on:
push:
paths:
- "stable/**"
branches:
- "master"
env:
REPO : "https://opendatacube.github.io/datacube-charts/charts"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
- name: Package charts into a tarball
run: |
git remote set-branches --add origin gh-pages
git checkout origin/gh-pages -- charts/
bash deploy-charts.sh $REPO stable
- name: Publish charts to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./charts
publish_branch: gh-pages
destination_dir: ./charts
keep_files: true
enable_jekyll: true
commit_message: "deployed charts for"
- name: Checkout the gh-pages branch
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: gh-pages
- name: update latest _data/versions file from charts
run: |
cp ./charts/index.yaml _data/versions.yaml
git config user.name github-actions
git config user.email github-actions@github.com
git add _data/versions.yaml
git commit -m "updated versions file"
git push