chore: deploy
Some checks failed
Build and Deploy / build-and-push (push) Failing after 6s

This commit is contained in:
2025-02-06 23:38:44 +06:00
parent 692c778149
commit b028aaa6b2
2 changed files with 7 additions and 10 deletions

View File

@@ -43,3 +43,9 @@ jobs:
tags: |
${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:${{ github.sha }}
${{ vars.REGISTRY_URL }}/${{ steps.meta.outputs.REPO_NAME }}:latest
- name: Deploy to cluster
uses: steebchen/kubectl@v2
with:
config: ${{ secrets.KUBE_CONFIG_DATA }}
command: apply -f manifests/

View File

@@ -4,15 +4,6 @@ kind: Namespace
metadata:
name: ayaume
---
apiVersion: v1
kind: Secret
metadata:
name: blog-secrets
namespace: ayaume
type: Opaque
data:
webhook-secret: c2VjcmV0
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -34,7 +25,7 @@ spec:
ports:
- containerPort: 3000
env:
- name: WEBHOOK_SECRET
- name: AUTH_TOKEN
valueFrom:
secretKeyRef:
name: blog-secrets