[DEVOPS-1044] Add GitHub actions #1
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: CI/CD | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
ft/add_github_actions | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Setup Helm | ||
run: | | ||
helm dependency update helm/ph-ee-engine | ||
helm lint helm/ph-ee-engine | ||
shell: bash | ||
- name: Package Helm Chart | ||
run: | | ||
helm package helm/ph-ee-engine --destination $(Build.ArtifactStagingDirectory) | ||
shell: bash | ||
- name: Publish Helm chart | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: paymenthub | ||
path: $(Build.ArtifactStagingDirectory) |