-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed k8s deployment from CI-CD.yml
- Loading branch information
Showing
1 changed file
with
0 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,30 +91,3 @@ jobs: | |
host: ${{ secrets.PRODUCTION_HOST }} | ||
username: ${{ secrets.PRODUCTION_USERNAME }} | ||
privateKey: ${{ secrets.PRODUCTION_PRIVATE_KEY}} | ||
|
||
deploy-k8s: | ||
if: github.ref == 'refs/heads/main'|| github.ref == 'refs/heads/staging' | ||
needs: publish | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@master | ||
- name: Deploy to Staging Cluster | ||
if: github.ref == 'refs/heads/staging' | ||
uses: steebchen/[email protected] | ||
with: # defaults to latest kubectl binary version | ||
config: ${{ secrets.KUBE_CONFIG }} | ||
command: rollout restart deployments/apigiv -n backend | ||
- name: Verify Staging Deployment | ||
if: github.ref == 'refs/heads/staging' | ||
uses: steebchen/[email protected] | ||
with: | ||
config: ${{ secrets.KUBE_CONFIG }} | ||
version: v1.24.2 # specify kubectl binary version explicitly | ||
command: rollout status deployments/apigiv -n backend | ||
|
||
|
||
|
||
|
||
|
||
|