Difference between revisions of "GitHub Actions helm deployments"
Jump to navigation
Jump to search
(Created page with "https://github.com/marketplace/actions/helm-deploy") |
|||
Line 1: | Line 1: | ||
https://github.com/marketplace/actions/helm-deploy | https://github.com/marketplace/actions/helm-deploy | ||
+ | |||
+ | # .github/workflows/deploy.yml | ||
+ | name: Deploy | ||
+ | on: ['deployment'] | ||
+ | |||
+ | jobs: | ||
+ | deployment: | ||
+ | runs-on: 'ubuntu-latest' | ||
+ | steps: | ||
+ | - uses: actions/checkout@v1 | ||
+ | |||
+ | - name: 'Deploy' | ||
+ | uses: 'deliverybot/helm@v1' | ||
+ | with: | ||
+ | release: 'nginx' | ||
+ | namespace: 'default' | ||
+ | chart: 'app' | ||
+ | token: '${{ github.token }}' | ||
+ | values: | | ||
+ | name: foobar | ||
+ | value-files: >- | ||
+ | [ | ||
+ | "values.yaml", | ||
+ | "values.production.yaml" | ||
+ | ] | ||
+ | env: | ||
+ | [[KUBECONFIG_FILE]]: '${{ secrets.KUBECONFIG }}' |
Revision as of 10:33, 16 February 2024
https://github.com/marketplace/actions/helm-deploy
# .github/workflows/deploy.yml name: Deploy on: ['deployment'] jobs: deployment: runs-on: 'ubuntu-latest' steps: - uses: actions/checkout@v1 - name: 'Deploy' uses: 'deliverybot/helm@v1' with: release: 'nginx' namespace: 'default' chart: 'app' token: '$Template:Github.token' values: | name: foobar value-files: >- [ "values.yaml", "values.production.yaml" ] env: KUBECONFIG_FILE: '$Template:Secrets.KUBECONFIG'
Advertising: