Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.66 KB

File metadata and controls

52 lines (37 loc) · 1.66 KB

Deployment Guide

This template is configured for automatic deployment to Arweave using permaweb-deploy and GitHub Actions.

Prerequisites

Before you can deploy, you'll need:

  1. An Arweave wallet with:

GitHub Configuration

Secrets

  1. DEPLOY_KEY: Your base64-encoded Arweave wallet keyfile
    • To convert your wallet file to base64:
      # Mac/Linux
      base64 wallet.json | pbcopy
      
      # Windows
      base64 wallet.json | clip

Variables

  1. DEPLOY_ARNS_NAME: Your ArNS name

    • Get this from arns.app/#/manage/names
    • Connect your wallet that owns/controls the ArNS name
    • Find your ArNS name in the list
    • Copy the process ID displayed with your name
  2. DEPLOY_UNDERNAME (optional): If deploying to an undername of your ArNS name

    • Set this to the desired undername
  3. GA4_MEASUREMENT_ID: Your Google Analytics 4 measurement ID

    • Format: G-XXXXXXXXXX
    • Get this from your GA4 property settings

Deployment

Once configured, deployment is automatic:

  • Every push to the main branch triggers a deployment
  • The app is built with environment variables injected
  • The build is deployed to Arweave
  • Your ArNS name is updated to point to the new deployment

For manual deployments or troubleshooting, refer to: