diff --git a/.github/workflows/preview.yml b/.github/workflows/test_build.yml similarity index 57% rename from .github/workflows/preview.yml rename to .github/workflows/test_build.yml index f627569..fff6f11 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/test_build.yml @@ -1,5 +1,4 @@ -# .github/workflows/preview.yml -name: Deploy PR previews +name: Build PR previews on: pull_request: @@ -15,8 +14,6 @@ permissions: contents: read pages: write id-token: write - -concurrency: preview-${{ github.ref }} jobs: build: @@ -28,15 +25,4 @@ jobs: uses: withastro/action@v1 with: path: "frontend" - package-manager: pnpm@latest - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: preview - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Deploy to Preview - id: deployment - uses: actions/deploy-pages@v1 \ No newline at end of file + package-manager: pnpm@latest \ No newline at end of file