3 Commits

Author SHA1 Message Date
lucasdpt
874e8ec4b8 feat: try to fix
All checks were successful
semantic-release / release (push) Successful in 28s
2026-04-21 14:26:05 +02:00
lucasdpt
35ba1f1a5a fix: deploy
All checks were successful
semantic-release / release (push) Successful in 29s
2026-04-11 17:29:39 +02:00
lucasdpt
71cd0a0aab fix: try to fix argocd deploy
All checks were successful
semantic-release / release (push) Successful in 31s
2026-04-11 17:12:04 +02:00
2 changed files with 11 additions and 10 deletions

View File

@@ -65,13 +65,14 @@ jobs:
token: ${{ secrets.TOKEN }} token: ${{ secrets.TOKEN }}
github-server-url: ${{ inputs.server-url }} github-server-url: ${{ inputs.server-url }}
- name: Update Helm chart version - name: Update values
if: ${{ inputs.update-helm }} run: |
run: yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}" if [ "${{ inputs.update-helm }}" = "true" ] && [ -n "${{ inputs.helm-version }}" ] && [ -n "${{ inputs.helm-path }}" ]; then
yq e '${{ inputs.helm-path }} = "${{ inputs.helm-version }}"' -i "${{ inputs.file-path }}"
- name: Update image tag fi
if: ${{ inputs.update-image }} if [ "${{ inputs.update-image }}" = "true" ] && [ -n "${{ inputs.image-version }}" ] && [ -n "${{ inputs.image-path }}" ]; then
run: yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}" yq e '${{ inputs.image-path }} = "${{ inputs.image-version }}"' -i "${{ inputs.file-path }}"
fi
- name: Commit and push changes - name: Commit and push changes
run: | run: |

View File

@@ -46,10 +46,10 @@ jobs:
uses: https://gitea.ldpt.fr/actions/argocd-deploy/.gitea/workflows/deploy.yaml@main uses: https://gitea.ldpt.fr/actions/argocd-deploy/.gitea/workflows/deploy.yaml@main
with: with:
server-url: https://github.com server-url: https://github.com
argocd-repo: lucasdpt/k8s-homelab-gitops argocd-repo: lucasdpt/k8s-homelab
file-path: ${{ inputs.file-path }} file-path: ${{ inputs.file-path }}
update-helm: ${{ inputs.update-helm }} update-helm: ${{ inputs.update-helm == true }}
update-image: ${{ inputs.update-image }} update-image: ${{ inputs.update-image == true }}
helm-path: ${{ inputs.helm-path }} helm-path: ${{ inputs.helm-path }}
helm-version: ${{ inputs.helm-version }} helm-version: ${{ inputs.helm-version }}
image-path: ${{ inputs.image-path }} image-path: ${{ inputs.image-path }}