Skip to content

Commit

Permalink
clean all the debug content
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuchen1986 authored Apr 8, 2021
1 parent b0d23f9 commit 26e9093
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
runs-on: ubuntu-latest
needs:
- release
#- package
# if: needs.release.outputs.new_release_published == 'true'
- package
if: needs.release.outputs.new_release_published == 'true'
env:
VERSION: ${{ needs.release.outputs.new_release_version }}
KUBECONFIG_FILE: ${{ secrets.KUBECONFIG }}
Expand All @@ -99,12 +99,10 @@ jobs:
KUBECONFIG_FILE: ${{ secrets.KUBECONFIG }}
run: |
echo ${KUBECONFIG_FILE} | base64 -d > ${KUBECONFIG}
cat ${KUBECONFIG}
- name: Apply deployment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB }}
run: |
./kubectl config view --raw
sed -i "s/IMAGE_TAG/${VERSION}/g" k8s/kustomization.yaml
./kubectl kustomize k8s/ | ./kubectl apply --dry-run=server -o yaml -f -
./kubectl kustomize k8s/ | ./kubectl apply -f -

0 comments on commit 26e9093

Please sign in to comment.