From 1882c5c4e8073f80f09dbd3c255e185f3d82614d Mon Sep 17 00:00:00 2001 From: Liam Garriga Date: Sun, 8 Sep 2024 06:42:05 +0000 Subject: [PATCH] Delete .github/workflows/preview.yml --- .github/workflows/preview.yml | 40 ----------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/preview.yml diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index ca04e4b..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: 🔂 Surge PR Preview - -on: - pull_request: - push: - branches: [testing] - -jobs: - preview: - runs-on: ubuntu-latest - permissions: - pull-requests: write # allow surge-preview to create/update PR comments - steps: - - uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - with: - version: 8 - - name: Use Node.js - uses: actions/setup-node@v4 - with: - node-version: latest - cache: 'pnpm' - cache-dependency-path: frontend/pnpm-lock.yaml - - name: Install dependencies and Build - run: | - cd frontend - pnpm install - pnpm build - - uses: afc163/surge-preview@v1 - id: preview_step - with: - github_token: ${{ github.token }} - surge_token: ${{ secrets.SURGE_TOKEN }} - dist: frontend/dist - teardown: true - failOnError: true - build: | - bash -c "echo Done" - - name: Get the preview_url - run: echo "url => ${{ steps.preview_step.outputs.preview_url }}"