helm.yml 787 B

12345678910111213141516171819202122232425262728293031
  1. name: Helm CI
  2. on:
  3. # Triggers the workflow on push or pull request events but only for the dev branch
  4. push:
  5. branches: [ dev ]
  6. paths: [ dev/helm/** ]
  7. # Allows you to run this workflow manually from the Actions tab
  8. workflow_dispatch:
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
  14. - uses: actions/checkout@v2
  15. - name: Generate Chart Archive
  16. run: |
  17. ls -l $GITHUB_WORKSPACE
  18. mkdir -p $GITHUB_WORKSPACE/charts
  19. helm package . -d $GITHUB_WORKSPACE/charts
  20. working-directory: ./dev/helm
  21. - name: Generate Index
  22. run: |
  23. helm repo index .
  24. ls -l
  25. working-directory: $GITHUB_WORKSPACE/charts