fix: update deployment file reference in Kubernetes deployment step

This commit is contained in:
2026-01-10 16:51:47 +08:00
parent b57b31364f
commit 788d0b980e

View File

@@ -62,7 +62,7 @@ jobs:
- name: Deploy to Kubernetes
run: |
cd ${{ gitea.workspace }}
sed -i "s|localhost:8180/k8s-example/k8s-example:latest|localhost:8180/k8s-example/k8s-example:${{ gitea.sha }}|g" .gitea/workflows/deploy.yaml
sed -i "s|localhost:8180/k8s-example/k8s-example:latest|localhost:8180/k8s-example/k8s-example:${{ gitea.sha }}|g" deployment.yaml
cat deployment.yaml
kubectl apply -f deployment.yaml
- run: echo "🍏 This job's status is ${{ job.status }}."