Skip to content

Commit

Permalink
add dev deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
FirasMosbahi committed Sep 20, 2024
1 parent 8a7e223 commit cf08ee6
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/solar-system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,26 @@ jobs:
with:
name: Code-Coverage-Result
path: coverage
retention-days: 5
retention-days: 5

dev-deploy:
name: dev-deploy
needs: docker
environment:
development
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: install kubectl
uses: azure/setup-kubectl
with:
version: v1.26.0
- name: setup k8s contetext
uses: azure/k8s-set-context
with:
method: kubeconfig
kubeconfig: ${{ secrets.KUBECONFIG }}
- name: run kubectl
run: kubectl version --short -o yaml

0 comments on commit cf08ee6

Please sign in to comment.