From 7169966adcd4ce66cf94515c172909f64a6106f4 Mon Sep 17 00:00:00 2001 From: fotiecodes <42372656+FotieMConstant@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:36:10 +0300 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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