Skip to content

add comment to forcly run the manifests workflow #3

add comment to forcly run the manifests workflow

add comment to forcly run the manifests workflow #3

name: manifests-deployment
on:
push:
branches:
- main
paths:
- "infra/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Save DigitalOcean kubeconfig
run: doctl kubernetes cluster kubeconfig save ${{ secrets.DIGITALOCEAN_KUBERNETES_CLUSTER_NAME }}
- name: Apply common k8s manifests files to work on the cluster
run: kubectl apply -f infra/k8s
- name: Apply production k8s manifests files to work on the cluster
run: kubectl apply -f infra/k8s-prod