From 5556b80994e0a7f53441487df30584dfe7a65860 Mon Sep 17 00:00:00 2001 From: Gormery Kombo Wanjiru Date: Tue, 27 Feb 2024 22:08:36 +0100 Subject: [PATCH] old workflow --- .github/workflows/deploy.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 8f41e10..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: test-and-deploy - -on: - workflow_dispatch: - workflow_run: - workflows: ["ollama-docker"] # This triggers the deployment after ollama-docker workflow completes - types: - - completed - -permissions: - id-token: write - contents: read - -jobs: - deploy-azure: - runs-on: ubuntu-latest - steps: - - name: 'Az CLI login' - uses: azure/login@v1 - with: - client-id: ${{ secrets.AZURE_CLIENT_ID }} - tenant-id: ${{ secrets.AZURE_TENANT_ID }} - subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }} - - - name: 'Run Azure CLI commands' - run: | - az containerapp up \ - --name my-container-app \ - --resource-group my-container-apps \ - --location centralus \ - --environment 'my-container-apps' \ - --image ${{ secrets.DOCKER_HUB_USERNAME }}/ollama-docker:latest \ # Ensure this matches your Docker Hub repo - --target-port 80 \ - --ingress external \ - --query properties.configuration.ingress.fqdn