Skip to content

chore: test arweave-deploy #12

chore: test arweave-deploy

chore: test arweave-deploy #12

Workflow file for this run

name: Arweave Deploy
on:
push:
branches:
- permaweb
jobs:
Arweave-build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js environment for docs build
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install Yarn
run: npm install -g yarn
- 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: |
npm install permaweb-deploy --include=dev --force
- name: Run deployment script
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
DEPLOY_ANT_PROCESS_ID: ${{ secrets.DEPLOY_ANT_PROCESS_ID}}
run: yarn deploy