From fe4458489d616b2d4ab77ef3397ef9fb6fd7a22a Mon Sep 17 00:00:00 2001 From: maxmwang Date: Sat, 14 Dec 2024 21:24:38 -0800 Subject: [PATCH] fix action --- .github/workflows/cd-deploy-docs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd-deploy-docs.yaml b/.github/workflows/cd-deploy-docs.yaml index eb9c7af4b..308188d59 100644 --- a/.github/workflows/cd-deploy-docs.yaml +++ b/.github/workflows/cd-deploy-docs.yaml @@ -24,7 +24,7 @@ jobs: - name: Build and push uses: docker/build-push-action@v6 with: - context: ./docs + context: docs push: true tags: ${{ secrets.DOCKER_USERNAME }}/bt-docs:prod cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/bt-docs:prod @@ -32,6 +32,7 @@ jobs: deploy: name: SSH and Deploy + needs: [build-push] runs-on: ubuntu-latest environment: documentation