Skip to content

test deployment

test deployment #14

Workflow file for this run

name: Deploy to Kubernetes
on:
push:
branches:
- "main"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy to Kubernetes
uses: ./.github/actions/k8s-deploy
with:
app_port: 3000
replicas: 1
cpu_request: 100m
cpu_limit: 200m
memory_request: 128Mi
memory_limit: 256Mi
kube_config: ${{ secrets.KUBE_CONFIG_DOAD_STAGING }}
docker_username: ${{ github.actor }}
docker_password: ${{ secrets.GITHUB_TOKEN}}
# env_secrets: ${{ secrets.MAIN_ENV_SECRETS }}
- 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 }}