diff --git a/.forgejo/workflows/depoly.yml b/.forgejo/workflows/depoly.yml index a340d9d..4195610 100644 --- a/.forgejo/workflows/depoly.yml +++ b/.forgejo/workflows/depoly.yml @@ -28,8 +28,13 @@ jobs: - name: Install Dependencies run: pnpm i + - name: Build Dist (Staging) + run: pnpm dist -m staging + if: env.GITHUB_REF_NAME == 'master' + - name: Build Dist run: pnpm dist + if: env.GITHUB_REF_NAME != 'master' - name: Depoly to Preview uses: https://github.com/cloudflare/wrangler-action@v3