From 756e578672dce3bbb2d217b0220e3c265909ee4c Mon Sep 17 00:00:00 2001 From: Mu7med Date: Fri, 5 Jan 2024 08:13:05 +0400 Subject: [PATCH] add dev-deploy job --- .github/workflows/solar-system.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/solar-system.yml b/.github/workflows/solar-system.yml index 6a9b7f53e..898ec58de 100644 --- a/.github/workflows/solar-system.yml +++ b/.github/workflows/solar-system.yml @@ -79,4 +79,21 @@ jobs: with: context: . push: true - tags: 'ghcr.io/${{ github.repository_owner }}/solar-system:${{ github.sha }}' \ No newline at end of file + tags: 'ghcr.io/${{ github.repository_owner }}/solar-system:${{ github.sha }}' + + dev-deploy: + runs-on: ubuntu-latest + needs: docker + environment: + name: development + steps: + - uses: actions/checkout@v4 + - uses: azure/setup-kubectl@v3.2 + with: + version: 'v1.26.0' # default is latest stable + - uses: azure/k8s-set-context@v3 + with: + method: kubeconfig + kubeconfig: '${{ secrets.KUBCONFIG }}' + - run: kubectl version --short -o yaml +