Files
dashboard-backend/.gitea/workflows/deploy.yml
CloudForge Dev 8236d0fef4
Some checks failed
Deploy to K3S / deploy (push) Failing after 9s
Install Helm and deploy
2025-11-19 15:23:01 +08:00

30 lines
629 B
YAML

name: Deploy to K3S
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Helm
run: |
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
helm version
- name: Deploy with Helm
run: |
helm upgrade --install cloudforge ./cloudforge-dashboard-helm \
-n cloudforge \
--create-namespace
- name: Verify Deployment
run: |
kubectl rollout status deployment/dashboard-backend -n cloudforge -t 300s