From 7ddfd7b4cd6407343bda9a474339436a5b460d16 Mon Sep 17 00:00:00 2001 From: bobinstein Date: Wed, 31 Jul 2024 18:11:37 -0400 Subject: [PATCH] chore: finall test of the deploy method? --- .github/workflows/arweave-deploy.yaml | 10 ++++++++-- docs/package.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/arweave-deploy.yaml b/.github/workflows/arweave-deploy.yaml index 5785058c..17ddf11a 100644 --- a/.github/workflows/arweave-deploy.yaml +++ b/.github/workflows/arweave-deploy.yaml @@ -15,17 +15,23 @@ jobs: - name: Setup Node.js environment for docs build uses: actions/setup-node@v2 with: - node-version: "20" + node-version: "16" - name: Install Yarn run: npm install -g yarn - - name: Install dependencies + - name: Build Docs Portal run: | cd docs yarn install --frozen-lockfile + yarn build cd .. + - name: Setup Node.js v20 for deployment + uses: actions/setup-node@v2 + with: + node-version: "20" + - name: Install dependencies for deployment script run: | cd docs diff --git a/docs/package.json b/docs/package.json index aa87e258..b300f7ce 100644 --- a/docs/package.json +++ b/docs/package.json @@ -12,7 +12,7 @@ "dev": "vuepress dev src", "build": "vuepress build src", "build-gh": "cross-env BASE_URL=/docs/ vuepress build src", - "deploy": "permaweb-deploy --ant-process $DEPLOY_ANT_PROCESS_ID" + "deploy": "permaweb-deploy --deploy-folder ./src/.vuepress/dist --ant-process $DEPLOY_ANT_PROCESS_ID" }, "license": "MIT", "devDependencies": {