Skip to content

Commit

Permalink
initial workflow attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Jun 10, 2024
1 parent eefe404 commit 7a05a47
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/k8s-action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: run k8s in a github action?
on:
workflow_dispatch:

jobs:
execute:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: setup k8s
uses: helm/[email protected]
- name: Verify k8s
run: |
kubectl cluster-info
kubectl get nodes
- name: deploy
run: |
kubectl apply -k ./deployment/develop
kubectl wait --for=condition=Ready --timeout=60s deployment/lexbox
- name: status
if: always()
run: kubectl get deployment/lexbox

0 comments on commit 7a05a47

Please sign in to comment.