diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 359a9535..501150d3 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -2,11 +2,6 @@ on: push: branches: - main - paths: - - 'config/**' - - 'site/**' - - 'Dockerfile' - - '.github/workflows/**' jobs: @@ -18,9 +13,6 @@ jobs: - name: Checkout master uses: actions/checkout@main - - name: Update SHA - run: echo $GITHUB_SHA > $GITHUB_WORKSPACE/site/_meta - - name: Build container image run: docker build -t registry.digitalocean.com/sdas/python-example:$(echo $GITHUB_SHA | head -c7) . diff --git a/config/deployment.yml b/config/deployment.yml index 0b31872d..83c09967 100644 --- a/config/deployment.yml +++ b/config/deployment.yml @@ -36,16 +36,12 @@ apiVersion: v1 kind: Service metadata: name: python-example-service - annotations: - external-dns.alpha.kubernetes.io/hostname: "doctl-action.do-api.dev" - service.beta.kubernetes.io/do-loadbalancer-certificate-id: "37f354b1-0043-4bef-84b9-4666390026f3" - service.beta.kubernetes.io/do-loadbalancer-redirect-http-to-https: "true" spec: type: LoadBalancer ports: - - name: https + - name: http protocol: TCP - port: 443 - targetPort: 5000 + port: 80 + targetPort: 80 selector: app: python-example