{"id":1803,"date":"2025-05-11T23:43:01","date_gmt":"2025-05-12T03:43:01","guid":{"rendered":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/?p=1803"},"modified":"2025-05-11T23:44:07","modified_gmt":"2025-05-12T03:44:07","slug":"publishing-on-github-pages","status":"publish","type":"post","link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/web-design-module\/publishing-on-github-pages\/","title":{"rendered":"Publishing on GitHub Pages"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>On GitHub, navigate to your site&#8217;s repository.<\/li>\n\n\n\n<li>Under your repository name, click\u00a0<strong>\u00a0Settings<\/strong>. If you cannot see the &#8220;Settings&#8221; tab, select the\u00a0\u00a0dropdown menu, then click\u00a0<strong>Settings<\/strong>.<\/li>\n\n\n\n<li>In the &#8220;Code and automation&#8221; section of the sidebar, click\u00a0<strong>\u00a0Pages<\/strong>.<\/li>\n\n\n\n<li>Under &#8220;Build and deployment&#8221;, under &#8220;Source&#8221;, should be set to <strong>Deploy from a branch<\/strong>.<\/li>\n\n\n\n<li>Under &#8220;Build and deployment&#8221;, Click <strong>None<\/strong> dropdown menu under the <strong>Branch<\/strong> \u00a0and select the <strong>main<\/strong>.<\/li>\n\n\n\n<li>Click\u00a0<strong>Save<\/strong>.\n<ol class=\"wp-block-list\">\n<li>It will take a few minutes for your site to publish. The text should now show main under branch and the save buttton will be greyed out.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Refresh the page and when your site is ready the URL to it will be at the top of the page. It will read\u00a0<strong>Your site is live at\u00a0<\/strong>and then give the URL to your site. There is also a visit site button.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":16,"featured_media":1804,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","portfolio_post_id":0,"portfolio_citation":"","portfolio_annotation":"","_themeisle_gutenberg_block_has_review":false,"openlab_post_visibility":"","footnotes":""},"categories":[25,23],"tags":[70],"class_list":["post-1803","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-final-project","category-web-design-module","tag-github"],"featured_image_urls_v2":{"full":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"thumbnail":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-150x150.png",150,150,true],"medium":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-300x199.png",300,199,true],"medium_large":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-768x510.png",768,510,true],"large":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"1536x1536":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"2048x2048":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"gform-image-choice-sm":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",300,199,false],"gform-image-choice-md":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",400,266,false],"gform-image-choice-lg":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",600,398,false]},"post_excerpt_stackable_v2":"<p>On GitHub, navigate to your site&#8217;s repository. Under your repository name, click\u00a0\u00a0Settings. If you cannot see the &#8220;Settings&#8221; tab, select the\u00a0\u00a0dropdown menu, then click\u00a0Settings. In the &#8220;Code and automation&#8221; section of the sidebar, click\u00a0\u00a0Pages. Under &#8220;Build and deployment&#8221;, under &#8220;Source&#8221;, should be set to Deploy from a branch. Under &#8220;Build and deployment&#8221;, Click None dropdown menu under the Branch \u00a0and select the main. Click\u00a0Save. It will take a few minutes for your site to publish. The text should now show main under branch and the save buttton will be greyed out. Refresh the page and when your site is ready&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/category\/final-project\/\" rel=\"category tag\">Final Project<\/a>, <a href=\"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/category\/web-design-module\/\" rel=\"category tag\">Web Design Module<\/a>","author_info_v2":{"name":"Christopher Stein","url":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/author\/cstein\/"},"comments_num_v2":"0 comments","uagb_featured_image_src":{"full":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"thumbnail":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-150x150.png",150,150,true],"medium":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-300x199.png",300,199,true],"medium_large":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages-768x510.png",768,510,true],"large":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"1536x1536":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"2048x2048":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",824,547,false],"gform-image-choice-sm":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",300,199,false],"gform-image-choice-md":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",400,266,false],"gform-image-choice-lg":["https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-content\/uploads\/sites\/4101\/2025\/05\/GitHubPages.png",600,398,false]},"uagb_author_info":{"display_name":"Christopher Stein","author_link":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/author\/cstein\/"},"uagb_comment_info":0,"uagb_excerpt":null,"_links":{"self":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/posts\/1803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/comments?post=1803"}],"version-history":[{"count":1,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/posts\/1803\/revisions"}],"predecessor-version":[{"id":1805,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/posts\/1803\/revisions\/1805"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/media\/1804"}],"wp:attachment":[{"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/media?parent=1803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/categories?post=1803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/openlab.bmcc.cuny.edu\/mmp-100-stein-spring-25\/wp-json\/wp\/v2\/tags?post=1803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}