mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-28 11:13:26 +01:00
23 lines
352 B
YAML
23 lines
352 B
YAML
name: Kubernetes Deploy
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
env:
|
|
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: your-runner
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Deploy Manifest
|
|
uses: actions-hub/kubectl@master
|
|
with:
|
|
args: apply -f your-manifest.yml
|