diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 047020b..60b92c1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: kubectl deployment # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch @@ -39,4 +39,3 @@ jobs: KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} with: args: kubectl rollout status deployment/files -n media - \ No newline at end of file diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 887b6e6..9c6555a 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -1,6 +1,6 @@ # This is a basic workflow to help you get started with Actions -name: CI +name: helm deployment # Controls when the action will run. Triggers the workflow on push or pull request # events but only for the master branch @@ -27,7 +27,9 @@ jobs: env: KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }} with: - args: helm upgrade --install postgres -n db -f postgres-values.yaml bitnami/postgresql + args: | + helm repo add bitnami https://charts.bitnami.com/bitnami + helm upgrade --install postgres -n db -f postgres-values.yaml bitnami/postgresql - name: verify postgres uses: wahyd4/kubectl-helm-action@master