Skip to content

Fix deployment bundle size and chunking configuration #5

Fix deployment bundle size and chunking configuration

Fix deployment bundle size and chunking configuration #5

name: Deploy to Permaweb
on:
push:
branches: [main]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build project
run: bun run build
env:
BUN_ENV: production
- name: Create .nojekyll file
run: touch dist/.nojekyll
- name: Deploy to Permaweb
run: |
npx permaweb-deploy \
--arns-name=argo \
--deploy-folder=dist
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}