fix: update kubectl apply command to reference deployment.yaml instead of deploy.yaml

This commit is contained in:
2026-01-10 16:47:48 +08:00
parent c6e3c2f589
commit 328bf821f2

View File

@@ -63,5 +63,5 @@ jobs:
run: | run: |
cd ${{ gitea.workspace }} 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" .gitea/workflows/deploy.yaml
kubectl apply -f .gitea/workflows/deploy.yaml kubectl apply -f deployment.yaml
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."