From e8a7bc997e3c67202ac44a604c5118b4e0c5066a Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Fri, 3 Nov 2023 17:36:19 +0530 Subject: [PATCH] Fix frontend deploy --- .github/workflows/pipeline.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 13269ac..e2b9788 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -90,7 +90,7 @@ jobs: needs: [docker_build_push] permissions: contents: write - if: github.ref_name == 'main' + if: github.ref_name == 'main' || github.ref_name == 'fix-frontend-deploy' container: image: python:3.7-stretch steps: @@ -100,16 +100,8 @@ jobs: node-version: 18 - name: Install wasp - run: curl -sSL https://get.wasp-lang.dev/installer.sh | sh - - - name: Log in to the Container registry - uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + run: curl -sSLk https://get.wasp-lang.dev/installer.sh | sh - - run: docker pull ghcr.io/$GITHUB_REPOSITORY:$GITHUB_REF_NAME || docker pull ghcr.io/$GITHUB_REPOSITORY || true - name: Build wasp run: wasp build - name: Build frontend