Skip to content

Commit

Permalink
fix: Updated deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
The0mikkel committed Aug 17, 2023
1 parent 1db911c commit c50682d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,4 @@ jobs:
deploy:
name: Deploy ${{inputs.workspace}}
runs-on: ubuntu-latest
environment: Deploy
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup kubectl
run: echo "${{ secrets.KUBECONFIG }}" | base64 -d > kubeconfig
- name: Deploy to cluster
run: kubectl --kubeconfig kubeconfig apply -f ./k8s/${{inputs.workspace}}
- name: Deploy to cluster
run: kubectl --kubeconfig kubeconfig set image deployment/${{inputs.workspace}} ${{inputs.workspace}}=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{inputs.workspace}}-${{ inputs.version }}
- name: Verify deployment
run: kubectl --kubeconfig kubeconfig rollout status deployment/${{inputs.workspace}}

0 comments on commit c50682d

Please sign in to comment.