Title: alternative command (like github-pages:deploy-master) for github-pages:deploy that will push to master if my repository is XXX.github.io · Issue #3772 · angular/angular-cli · GitHub
Open Graph Title: alternative command (like github-pages:deploy-master) for github-pages:deploy that will push to master if my repository is XXX.github.io · Issue #3772 · angular/angular-cli
X Title: alternative command (like github-pages:deploy-master) for github-pages:deploy that will push to master if my repository is XXX.github.io · Issue #3772 · angular/angular-cli
Description: since GH-PAGES for XXX.github.io repo should be in master branch, then ng github-pages:deploy command is irrelevant. My short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is to push the code in develop branch then...
Open Graph Description: since GH-PAGES for XXX.github.io repo should be in master branch, then ng github-pages:deploy command is irrelevant. My short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is...
X Description: since GH-PAGES for XXX.github.io repo should be in master branch, then ng github-pages:deploy command is irrelevant. My short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is...
Opengraph URL: https://github.com/angular/angular-cli/issues/3772
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"alternative command (like github-pages:deploy-master) for github-pages:deploy that will push to master if my repository is XXX.github.io","articleBody":"since GH-PAGES for **XXX.github.io repo** should be in master branch, then **ng github-pages:deploy** command is irrelevant.\r\n\r\nMy short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is to push the code in **_develop branch_** then do _`git subtree push --prefix dist origin master`_ to push it on master.\r\n\r\nMy current workflow for my solution:\r\n```\r\n\u003e ng new GitHubPage\r\n\u003e cd GitHubPage\r\n\u003e git init\r\n\u003e git remote add origin git@github.com:\u003cuser\u003e/\u003cuser\u003e.github.io.git\r\n\u003e ng build --prod // assumed that you're done with your page\r\n\u003e git stage -A; git commit -m \"initial gh-page\"\r\n\u003e git checkout -b develop\r\n\u003e git push -u origin develop\r\n\u003e git subtree push --prefix dist origin master\r\n```\r\n\r\nWith this, I would like to request for new feature that will commit code in develop branch then push gh-page to master if my repository is XXX.github.io\r\n\r\nNew workflow:\r\n```\r\n\u003e ng new GitHubPage\r\n\u003e cd GitHubPage\r\n\u003e git init\r\n\u003e git remote add origin git@github.com:\u003cuser\u003e/\u003cuser\u003e.github.io.git\r\n\u003e ng build --prod // assumed that you're done with your page\r\n\u003e git stage -A; git commit -m \"initial gh-page\"\r\n\u003e ng github-pages:deploy-master // or similar\r\n```\r\n\r\nSo every time I'm done working with my page, then I'll just invoke **```ng github-pages:deploy-master```** to push my code with ease.\r\n","author":{"url":"https://github.com/gabbydgab","@type":"Person","name":"gabbydgab"},"datePublished":"2016-12-28T23:59:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/3772/angular-cli/issues/3772"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:531e86f7-4baf-1e88-ed9f-a331136799bf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9426:1E23:4B5585:5E8F4B:6990CAEA |
| html-safe-nonce | 12f3562c9330145a29121559536da2d732fe32c64490ff29e1be8f40e0edc828 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDI2OjFFMjM6NEI1NTg1OjVFOEY0Qjo2OTkwQ0FFQSIsInZpc2l0b3JfaWQiOiIyNDAxNzIxNDE3MDY0MzAzMzM4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5ce9abe4ee95eacf973955898f40cfc904f3ed437e281700589c48a1238af6c0 |
| hovercard-subject-tag | issue:197933812 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3772/issue_layout |
| twitter:image | https://opengraph.githubassets.com/155857486a45dec9a110c9bc8f74f899f44b4809c08f845bcf816c5fdda2ea7c/angular/angular-cli/issues/3772 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/155857486a45dec9a110c9bc8f74f899f44b4809c08f845bcf816c5fdda2ea7c/angular/angular-cli/issues/3772 |
| og:image:alt | since GH-PAGES for XXX.github.io repo should be in master branch, then ng github-pages:deploy command is irrelevant. My short-term solution (see https://github.com/gabbydgab/gabbydgab.github.io) is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gabbydgab |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width