Skip to content

Commit

Permalink
Added Deploy Manifest Config to apply all config inside infra/k8 dire…
Browse files Browse the repository at this point in the history
…ctory to the cluster.
  • Loading branch information
alwinsimon committed Oct 29, 2023
1 parent f8bdf61 commit c2906aa
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/CD - Deploy - Manifests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ========================================= CD - Deploy - Manifests =========================================

name: CD - Deploy - Manifests

on:
push:
branches:
- production
paths:
- "infra/**"

jobs:
Deploy-Manifests-CD-Pipeline:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save bookmyseat-k8s
- run: kubectl apply -f infra/k8s

0 comments on commit c2906aa

Please sign in to comment.