Skip to content

Commit

Permalink
test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
folland87 committed Oct 22, 2024
1 parent 21ffd7b commit c2a5ca0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
10 changes: 3 additions & 7 deletions .github/actions/k8s-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,9 @@ runs:
shell: bash
run: |
echo "${{ inputs.kube_config }}" | base64 -d > kubeconfig
export KUBECONFIG=./kubeconfig
- name: Check kubectl configuration
shell: bash
run: |
kubectl config view
kubectl cluster-info
echo "KUBECONFIG=$PWD/kubeconfig" >> $GITHUB_ENV
# Verify the kubeconfig
kubectl config view --raw
- name: Install Kustomize
shell: bash
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
- name: Get deployment URL
run: echo "Deployed to ${{ steps.deploy.outputs.deployment_url }}"

- name: 📢 Notify in mattermost channel
if: always()
uses: dataesr/mm-notifier-action@v1.0.2
with:
github_token: ${{ secrets.GITHUB_TOKEN}}
mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
mattermost_channel: bots
deployment_url: ${{ steps.deploy.outputs.deployment_url }}
# - name: 📢 Notify in mattermost channel
# if: always()
# uses: dataesr/mm-notifier-action@v1.0.2
# with:
# github_token: ${{ secrets.GITHUB_TOKEN}}
# mattermost_webhook_url: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
# mattermost_channel: bots
# deployment_url: ${{ steps.deploy.outputs.deployment_url }}

0 comments on commit c2a5ca0

Please sign in to comment.