tag
This commit is contained in:
parent
6f76ba2f6e
commit
fe14d9f790
@ -61,22 +61,9 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create ConfigMap for app files
|
|
||||||
run: |
|
|
||||||
kubectl create configmap hosting-frontend-files \
|
|
||||||
--from-file=dist/hosting-frontend/browser \
|
|
||||||
--namespace=hosting-frontend \
|
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
|
||||||
|
|
||||||
- name: Create ConfigMap for nginx config
|
|
||||||
run: |
|
|
||||||
kubectl create configmap nginx-config \
|
|
||||||
--from-file=nginx.conf \
|
|
||||||
--namespace=hosting-frontend \
|
|
||||||
--dry-run=client -o yaml | kubectl apply -f -
|
|
||||||
|
|
||||||
- name: Deploy to k3s
|
- name: Deploy to k3s
|
||||||
run: |
|
run: |
|
||||||
kubectl apply -f k8s/
|
kubectl apply -f deploy/k8s/
|
||||||
kubectl set image deployment/hosting-frontend hosting-frontend=${{ secrets.REGISTRY_URL }}/hosting-frontend:${{ github.sha }} -n hosting-frontend
|
kubectl set image deployment/hosting-frontend hosting-frontend=${{ secrets.REGISTRY_URL }}/hosting-frontend:${{ github.sha }} -n hosting-frontend
|
||||||
kubectl rollout status deployment/hosting-frontend -n hosting-frontend
|
kubectl rollout status deployment/hosting-frontend -n hosting
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user