diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2b5666e..6b990f3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,6 +48,11 @@ jobs: cd docs-beta npm run build + - name: Prepare docs-beta directory for deployment + run: | + mkdir -p deploy-root/docs-beta + cp -R docs-beta/* deploy-root/docs-beta/ + - name: Deploy to Vercel uses: amondnet/vercel-action@v20 with: @@ -55,5 +60,5 @@ jobs: vercel-username: ${{ secrets.VERCEL_USERNAME }} vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} - working-directory: docs-beta + working-directory: deploy-root production: true