diff --git a/.github/workflows/preview-site.yml b/.github/workflows/preview-site.yml index 28f314bbba0..6c98ec134db 100644 --- a/.github/workflows/preview-site.yml +++ b/.github/workflows/preview-site.yml @@ -34,8 +34,8 @@ jobs: path: 'site/node_modules/.cache/babel-loader' key: babel-loader-${{ runner.os }}-${{ hashFiles('./pnpm-lock.yaml') }} - - name: Build - run: pnpm build:site + # - name: Build + # run: pnpm build:site # - name: Deploy to surge # run: pnpm surge -p ./site/dist -d braid-design-system--${GITHUB_SHA}.surge.sh @@ -44,15 +44,15 @@ jobs: # SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }} - name: Debug var - run: echo ${{ github.event.head.sha }} + run: echo ${{ github.sha }} - name: Deploy PR Preview uses: JamesIves/github-pages-deploy-action@881db5376404c5c8d621010bcbec0310b58d5e29 # 4.6.0 with: token: ${{ secrets.GITHUB_TOKEN }} branch: gh-pages-test - folder: ./site/dist - target-folder: ${{ github.event.head.sha }} + folder: ./docs + target-folder: ${{ github.sha }} - name: Update PR status run: pnpm post-commit-status