fixed swaggers #6
This file contains hidden or 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: Deploy | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - 'apps/items-app/**' | |
| - 'k8s/items-app-deployment.yaml' | |
| - '.github/workflows/deploy-apps.yml' | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup kubectl | |
| uses: azure/setup-kubectl@v4 | |
| - name: Configure kubeconfig | |
| run: | | |
| mkdir -p ~/.kube | |
| echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config | |
| chmod 600 ~/.kube/config | |
| - name: Apply K8s manifests | |
| run: kubectl apply -f infra/k8s/items-app-deployment.yaml |