Skip to content

Commit

Permalink
chore: finall test of the deploy method?
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Jul 31, 2024
1 parent 5fa93af commit 7ddfd7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/arweave-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 7ddfd7b

Please sign in to comment.