A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.hypermode.com/apps/deploy-app below:

Deploy - Apps

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: Automatic deployment via GitHub ActionsAdd a GitHub Actions workflow to your repository for automatic deployments. Create .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:
  1. Builds your Modus app via GitHub Actions
  2. Deploys to your Hypermode endpoint
  3. Makes your functions available via GraphQL
Production featuresYour deployed app includes: Viewing function activityMonitor your function executions in the Activity tab: You can see: Environment variablesConfigure environment variables in the Environment variables tab: Set production environment variables for: Testing your deploymentTest your deployed functions via GraphQL:
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:
  1. Develop and test locally with modus dev
  2. Commit and push changes to GitHub
  3. Automatic deployment to production
  4. Monitor via Hypermode console
Your Modus app is now live and ready to handle production traffic with automatic scaling, built-in observability, and secure endpoints.

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