This template is configured for automatic deployment to Arweave using permaweb-deploy and GitHub Actions.
Before you can deploy, you'll need:
- An Arweave wallet with:
- Sufficient Turbo Credits for deployment (purchase at turbo-topup.com)
- Owner or controller access to your target ArNS name
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
- To convert your wallet file to base64:
-
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
-
DEPLOY_UNDERNAME(optional): If deploying to an undername of your ArNS name- Set this to the desired undername
-
GA4_MEASUREMENT_ID: Your Google Analytics 4 measurement ID- Format: G-XXXXXXXXXX
- Get this from your GA4 property settings
Once configured, deployment is automatic:
- Every push to the
mainbranch 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: