# Re-deploying your app

#### Deploy vs Redeploy

The first time that you create an app, you should deploy the app within Health Universe. Health Universe creates a secure container for the app, configures that virtual environment, compiles the code, and does a number of configurations to make sure that they app runs within the Navigator or Health Universe environment.&#x20;

Once you've successfully deployed an app, you should use re-deploy. This allows you to update and change the code, but the rest of the app container and configuration remains the same. Redeployment is the most efficient (and effective) way to incorporate changes in your code. If you deploy the same app multiple times, you'll get unstable behaviors in Navigator, and difficultly in finding (and using) the apps that you've deployed.&#x20;

#### 1. **Push Changes to GitHub**

Before redeploying, make sure all your updates are committed and pushed to your app's GitHub repository:

```bash
git add .
git commit -m "Your update message"
git push origin main
```

> 🔁 Ensure you're pushing to the branch connected to your Health Universe app (usually `main`).

#### 2. Redeploy on Health Universe

Once your changes are live on GitHub:

* **Go to your app** on [Health Universe](https://www.healthuniverse.com/).
* Click **Deployments** on the top right of the navigation bar.

  <figure><img src="https://1951440936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS80fbh8wWG71Qtm77IKh%2Fuploads%2FjIhdZzwJdzsfBlYEThGT%2FScreenshot%202025-05-28%20at%2010.37.25%E2%80%AFAM.png?alt=media&#x26;token=48295e92-54ac-4491-8101-db8efed0db2c" alt=""><figcaption></figcaption></figure>
* Find and click the production deployment box.

  <figure><img src="https://1951440936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS80fbh8wWG71Qtm77IKh%2Fuploads%2FyHL6aulObdkKGEjG6H22%2FScreenshot%202025-05-28%20at%2010.41.11%E2%80%AFAM.png?alt=media&#x26;token=b676b36c-d6f0-4e95-9595-1f971ab3e605" alt=""><figcaption></figcaption></figure>
* Click the **Redeploy Button**.

  <figure><img src="https://1951440936-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS80fbh8wWG71Qtm77IKh%2Fuploads%2FOEkZdso84wfxCBd9iKbU%2FScreenshot%202025-05-28%20at%2010.46.50%E2%80%AFAM.png?alt=media&#x26;token=1bb1a36f-fdcf-4655-aad9-423d6691e25f" alt=""><figcaption></figcaption></figure>

#### 3. Review Deployment Logs

* After triggering a redeploy, **click the Build Logs** box to open it.
* Review the **logs** to confirm the app is rebuilding and redeploying successfully.

#### 4. Launch Your Updated App

* **Refresh the page** after deployment completes.
* Click **Launch** to open and verify your changes are live.
