remove lines that should have been removed with the removal of prepar… #38
Workflow file for this run
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
name: Helm publish on new tag | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
chart-publish-on-tag: | |
runs-on: ubuntu-latest | |
steps: | |
- name: main Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
path: georchestra | |
- name: gh-pages Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: 'gh-pages' | |
path: gh-pages | |
- name: Helm Installation | |
uses: azure/setup-helm@v3 | |
- name: Run script file | |
run: | | |
rm -rf georchestra/.git | |
shell: bash | |
- name: Helm Package | |
run: | | |
cd georchestra && helm dependency update && cd .. | |
helm package georchestra -d gh-pages | |
cd gh-pages | |
helm repo index . --merge index.yaml | |
- name: Deploy to GitHub Pages | |
uses: crazy-max/ghaction-github-pages@v3 | |
with: | |
target_branch: gh-pages | |
build_dir: gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |