Increase submission size limit for output only problems #290
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
name: "π Backend auto-deployment" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "apps/backend/**" | |
- "packages/**" | |
- "!packages/scripts/**" | |
- ".github/workflows/backend-deploy.yml" | |
jobs: | |
build: | |
name: "π³ Build" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Login to GitHub container registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build and push | |
id: docker_build | |
uses: docker/build-push-action@v3 | |
with: | |
push: true | |
context: . | |
platforms: linux/amd64 | |
file: .deploy/backend.dockerfile | |
tags: ghcr.io/itklubbozolagan/kontestis-backend:latest | |
release: | |
name: "π Release" | |
runs-on: ubuntu-latest | |
needs: [ "build" ] | |
steps: | |
- name: "Set up kubectl" | |
uses: azure/setup-kubectl@v3 | |
- name: "Copy kubernetes config" | |
run: "mkdir ~/.kube && echo '${{ secrets.KUBE_CONFIG }}' | base64 -d > ~/.kube/config && KUBECONFIG=~/.kube/config" | |
- name: "Rollout an application update" | |
run: "kubectl rollout restart deployment kontestis -n kontestis" | |