×ðÁú¿­Ê±¹ÙÍøµÇ¼

ÔõÑùÔÚGitLabÉϾÙÐÐÎĵµ°²ÅÅ

gitlabÊÇÒ»¸ö»ùÓÚgitµÄwebƽ̨£¬ÓÃÓÚÖÎÀígit¿ÍÕ»¡¢ÎÊÌâ¸ú×Ù¡¢ci/cdµÈÈí¼þÏîĿЭ×÷¹¦Ð§¡£ÔÚgitlabÉϾÙÐÐÎĵµ°²ÅÅÄܹ»ÊµÏÖÎĵµµÄ¼¯ÖÐÖÎÀí¡¢°æ±¾¿ØÖÆ¡¢È¨ÏÞ¿ØÖÆ¡¢×Ô¶¯»¯°²Åŵȹ¦Ð§¡£

±¾ÎĽ«ÏÈÈÝÔõÑùÔÚGitLabÉϾÙÐÐÎĵµ°²ÅÅ¡£Ö÷Òª°üÀ¨ÒÔÏÂÄÚÈÝ£ºÎĵµ½¨Éè¡¢GitLab PagesÉèÖá¢ÓòÃû°ó¶¨¡£

Ò»¡¢Îĵµ½¨Éè

Ê×ÏÈ£¬ÎÒÃÇÐèÒªÔÚGitLabÉϽ¨ÉèÒ»¸öеĿÍÕ»£¬ÓÃÓÚ´æ·ÅÎÒÃǵÄÎĵµ¡£

·­¿ªGitLabµÄÖ÷Ò³£¬µã»÷ÓÒÉϽǵġ°New project¡±°´Å¥£¬½øÈëÏîÄ¿½¨ÉèÒ³Ãæ¡£ÔÚ¡°Project name¡±ºÍ¡°Project slug¡±ÖÐÌîÈëÏîÄ¿Ãû³ÆºÍÏîÄ¿slug£¬Ñ¡Ôñ¡°Empty project¡±×÷ΪÏîÄ¿ÀàÐÍ£¬È»ºóµã»÷¡°Create project¡±°´Å¥Íê³ÉÏîÄ¿½¨Éè¡£

½Ó×Å£¬ÔÚÏîÄ¿Ö÷Ò³Öеã»÷¡°Create file¡±°´Å¥£¬ÊäÈëÎļþÃûºÍÎļþÄÚÈÝ£¬È»ºóµã»÷¡°Commit changes¡±°´Å¥¾ÙÐÐÌá½»¡£ÕâÑù¾ÍÍê³ÉÁËÎĵµµÄ½¨Éè¡£

¶þ¡¢GitLab PagesÉèÖÃ

GitLab PagesÊÇGitLabÌṩµÄÒ»ÏîЧÀÍ£¬ÓÃÓÚÍйܾ²Ì¬ÍøÒ³¡£ÎÒÃÇ¿ÉÒÔͨ¹ýGitLab PagesÀ´ÊµÏÖÎĵµµÄ×Ô¶¯»¯°²ÅÅ¡£

ÔÚ¿ÍÕ»Ö÷Ò³Öеã»÷×ó²à²Ëµ¥À¸Öеġ°Settings¡±°´Å¥£¬È»ºóÒÀ´Îµã»÷¡°Pages¡±¡¢ ¡°New domain¡±°´Å¥¡£½ÓÏÂÀ´£¬ÎÒÃÇÐèÒªÌîдһЩÐëÒªµÄÐÅÏ¢£º

Domain name: ÌîдÎÒÃÇҪʹÓõÄÓòÃû£¬ÀýÈçdocs.example.com¡£

Document root: ÌîдÎĵµ¸ùĿ¼£¬Ò»Ñùƽ³£Îª¡°public¡±»ò¡°docs¡±¡£

TLS/SSL certificate: ÈôÊÇʹÓÃHTTPSЭÒ飬ÔòÐèÒªÉÏ´«Ö¤Êé¡£

ÌîдÍê³Éºó£¬µã»÷¡°Create new domain¡±°´Å¥¾ÙÐÐÉúÑÄ¡£´ËʱÎÒÃÇÒѾ­Íê³ÉÁËGitLab PagesµÄ»ù±¾ÉèÖá£

½ÓÏÂÀ´£¬ÎÒÃÇÐèÒª½«ÎĵµÉÏ´«µ½GitLab PagesÖС£ÔÚ¿ÍÕ»Ö÷Ò³Öеã»÷×ó²à²Ëµ¥À¸Öеġ°CI/CD¡±°´Å¥£¬È»ºóÑ¡Ôñ¡°New pipeline¡±¡£ÔÚ¡°New pipeline¡±Ò³ÃæÖеã»÷¡°Run pipeline¡±°´Å¥£¬¼´¿É´¥·¢GitLab PagesµÄ×Ô¶¯»¯°²ÅÅÁ÷³Ì¡£

Èý¡¢ÓòÃû°ó¶¨

ÔÚÍê³ÉGitLab PagesµÄÉèÖúó£¬ÎÒÃÇÐèÒª½«ÓòÃûÆÊÎöµ½GitLab PagesÌṩµÄIPµØµãÉÏ£¬ÊµÏÖÓòÃûÓëÎĵµµÄ°ó¶¨¡£

Ê×ÏÈ£¬ÎÒÃÇÐèÒªÔÚGitLab PagesÖлñÈ¡ÏìÓ¦µÄIPµØµã¡£ÔÚ¿ÍÕ»Ö÷Ò³µÄ×ó²à²Ëµ¥À¸Öеã»÷¡°Settings¡±°´Å¥£¬È»ºóÒÀ´Îµã»÷¡°Pages¡±¡¢¡°Domain¡±°´Å¥£¬¼´¿ÉÉó²éGitLab PagesµÄIPµØµã¡£

½Ó×Å£¬ÔÚÓòÃûÖÎÀíƽ̨ÉϾÙÐÐÓòÃûÆÊÎö²Ù×÷¡£ÒÔ°¢ÀïÔÆΪÀý£¬·­¿ª°¢ÀïÔƵÄÓòÃûÖÎÀí¿ØÖÆ̨£¬Ñ¡ÕªÒªÆÊÎöµÄÓòÃû£¬µã»÷¡°Ìí¼Ó¼Í¼¡±°´Å¥£¬ÔÚ¡°ÆÊÎöÉèÖá±Ò³ÃæÖÐÌîдÒÔÏÂÐÅÏ¢£º

¼Í¼ÀàÐÍ£ºA¼Í¼

Ö÷»ú¼Í¼£ºÌîдҪÆÊÎöµÄ×ÓÓòÃû£¬ÀýÈçdocs.example.com¡£

ÆÊÎöÏß·£ºÄ¬ÈÏÏß·/ÔËÓªÉÌÏß·¡£

¼Í¼ֵ£ºÌîдGitLab PagesÌṩµÄIPµØµã¡£

TTL£ºÆ¾Ö¤ÐèÒª¾ÙÐÐÉèÖã¬Ò»Ñùƽ³£Îª600Ãë¼´¿É¡£

ÌîдÍê³Éºó£¬µã»÷¡°È·ÈÏ¡±°´Å¥ÉúÑÄÉèÖᣴýDNSÆÊÎöÉúЧºó£¬ÎÒÃǾͿÉÒÔͨ¹ý»á¼ûdocs.example.comÀ´»á¼ûÎÒÃǵÄÎĵµÁË¡£

×ܽá

±¾ÎÄÏÈÈÝÁËÔõÑùÔÚGitLabÉϾÙÐÐÎĵµ°²ÅÅ£¬Ïêϸ°üÀ¨Îĵµ½¨Éè¡¢GitLab PagesÉèÖúÍÓòÃû°ó¶¨¡£Í¨¹ýGitLabµÄ¼¯ÖÐÖÎÀí¡¢°æ±¾¿ØÖÆ¡¢È¨ÏÞ¿ØÖƺÍ×Ô¶¯»¯°²Åŵȹ¦Ð§£¬ÎÒÃÇ¿ÉÒÔʵÏÖÔ½·¢¸ßЧµÄÎĵµÖÎÀíºÍÐû²¼¡£

ÒÔÉϾÍÊÇÔõÑùÔÚGitLabÉϾÙÐÐÎĵµ°²ÅŵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí£¬°æȨÕùÒéÓë±¾Õ¾Î޹أ¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±¹ÙÍøµÇ¼ÂËÓÍ»úÍø¹Ù·½Ì¬¶È£¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ£¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢£¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢£¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼ʵʱÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±¹ÙÍøµÇ¼

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎ壬9:30-18:30£¬½ÚãåÈÕÐÝÏ¢

QR code
ÍøÕ¾µØͼ