Files
k_paperless/.gitea/workflows/run-backup.yaml
Renovate Bot 5347e6bbbe
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
Validate / validate (push) Successful in 8s
chore(deps): update azure/k8s-set-context action to v5
2026-04-16 10:12:45 +00:00

21 lines
746 B
YAML

name: Run Backup
on:
workflow_dispatch:
jobs:
run-renovate:
runs-on: ubuntu-latest
steps:
- uses: https://gitea.t000-n.de/t.behrendt/k_deploy_workflows/.gitea/actions/extract-namespace-from-repo-name@7993842765aaa808493ab79c5f3c21cf2d30f300 # 0.0.10
id: namespace
with:
repo: ${{ github.repository }}
- uses: azure/setup-kubectl@15650b3ad78fff148532a140b8a4c821796b2d7b # v5.0.0
- uses: azure/k8s-set-context@89b837d75b40a7bd2ddafde837473c212db8b313 # v5.0.0
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- run: |
kubectl -n ${{ steps.namespace.outputs.namespace }} create job --from=cronjob/backup backup-${{ github.run_id }}