Deploy your Apps to production with Hypermode
Once you’ve developed and tested your App locally, you’re ready to deploy it to production on Hypermode. This guide walks you through setting up automatic deployment for your Modus app. PrerequisitesBefore deploying, ensure you have:.github/workflows/ci-modus-build.yml
: This workflow can stray out of date as new Golang releases are made. If you encounter issues, checkout our open source recipes repo.
name: ci-modus-build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.24.5"
- name: Setup TinyGo
uses: acifani/setup-tinygo@v2
with:
tinygo-version: "0.38.0"
- name: Build project
run: npx -p @hypermode/modus-cli -y modus build
- name: Publish GitHub artifact
uses: actions/upload-artifact@v4
with:
name: build
path: ./build/*
retention-days: 7
Once the workflow is added, any push to the main
branch automatically deploys your app:
# Commit your changes
git add .
git commit -m "Deploy my Modus app"
# Push to trigger deployment
git push origin main
The deployment automatically:
curl -X POST https://your-app-endpoint.hypermode.app/graphql \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ sayHello(name: \"Production\") }"}'
Next stepsWith your app deployed, your development workflow becomes:
modus dev
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4