diff --git a/.github/workflows/deploy-landing-cloudflare.yml b/.github/workflows/deploy-landing-cloudflare.yml index be40cf420..6c79874a9 100644 --- a/.github/workflows/deploy-landing-cloudflare.yml +++ b/.github/workflows/deploy-landing-cloudflare.yml @@ -20,13 +20,23 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - uses: ./.github/actions/setup-submodule + id: submodule + with: + deploy-key: ${{ secrets.OWLETTO_WEB_DEPLOY_KEY }} + - name: Setup Bun uses: oven-sh/setup-bun@v2 with: bun-version: 1.3.5 - name: Install dependencies - run: bun install --frozen-lockfile + run: | + if [ "${{ steps.submodule.outputs.stubbed }}" = "true" ]; then + bun install + else + bun install --frozen-lockfile + fi - name: Build landing env: