Heroku – Simple Redeploy
If you are a Heroku user, you may need to manually redeploy your repository. To do this:
- Log in at Heroku.
- Open your site app and click the Deploy tab (from the top menu).
- If your site was initially deployed properly, you should see your Github user name on the deployment page, showing you are “connected” to your Github.
- If you are connected to your GitHub, scroll to the bottom where the “Manual deploy” area is.
- “Master” should be shown in the box. (If not, use the drop-down list to select “Master.”)
- Click the “deploy now” button next to it.
- It may take a few minutes for the site to redeploy. When it is finished, return to your site and refresh to see if the site has updated to the new version.
Azure – Try a Simple Redeploy
If your Azure site does not appear to have updated, you can first try redeploying the site following these simple steps:
- Click the ‘deployments’ tab at the top in Azure,
- Click the arrow to the right edge of the deployment shown at the top of the deployments page.
- At the bottom of the deployments page (after you click the arrow), a ‘redeploy’ button will appear, (Note: you may see a ‘sync’ button instead or, if the original deployment failed, a ‘retry’ button. If you see ‘retry,’ use that option.)
- Click the redeploy button (or sync, if that is the only option),
- Wait about 5 minutes, and then REFRESH your site in a browser and check the version of the site,
If your site still does not show the updated version, you may need to move on to the steps below.
Azure – Disconnect and Re-deploy Web Site Code
1. Log into Azure at https://manage.windowsazure.com
2. Click on ‘Web Sites’ on the left navigation bar
3. Click on your web site
4. Click on Dashboard if you aren’t already on that page.
5. Locate the ‘Quick Glance’ menu on the right side of the dashboard, and click on ‘Disconnect from GitHub’. If you see ‘Set up deployment from source control’ then proceed to Step #8.
6. Click ‘Yes’ to agree to the disconnect.
7. It will show ‘Operation is currently running’ and wait for that to complete.
8. Back under the ‘Quick Glance’ menu, now click on ‘Set up deployment from source control’
9. On the ‘Where is your source code?’ prompt, select GitHub and click on the arrow on bottom right.
10. Since you were just logged into GitHub, the connection / authorization connection should occur without any GitHub credential prompt, but if you are prompted, provide the necessary credentials (username & password) to connect.
In the ‘Choose a repository to deploy’, select the ‘cgm-remote-monitor’ from the REPOSITORY NAME drop down.
11. After selecting, the BRANCH TO DEPLOY should be ‘master’ and then click on the arrow to proceed.
12. Your GitHub repository will now be linked, and the deployment will begin.
13. When it’s done deploying, it will turn to a green ‘ACTIVE DEPLOYMENT’
14. Next we want to make sure your Connection Strings are still present in the configuration. From the top navigation menu, click on ‘CONFIGURE’
15. Scroll down the Configure page, and look for the ‘Connection Strings’ section. Click on ‘Show Connection Strings’
16. Verify that your connection strings still exist, and that they are correct. They shouldn’t have changed, but if they are not present, you will need to reenter them.
17. Proceed to your website and test that it appears.
18. On the top right of the screen, click on the Settings icon (three horizontal lines) and verify in the about section that you see version 0.9.x (‘x’ will be the latest revision, if applicable, e.g., 0.8.5)