Skip to content

fix deploy process for permaweb #44

fix deploy process for permaweb

fix deploy process for permaweb #44

Workflow file for this run

name: Publish docs on permaweb
on:
push:
branches:
- 'main'
jobs:
publish-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.1.0
- name: Install dependencies
run: pnpm install
- run: pnpm docs:build
- run: pnpm dlx permaweb-deploy --ant-process ${{ env.ANT_PROCESS }} --deploy-folder ./site/dist
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
ANT_PROCESS: "ymWaQ4Sc9myT0gx-Pc6BGSjJpl7AjGt7hEqMXCL9Q2k"