{"id":21609,"date":"2020-02-03T02:12:31","date_gmt":"2020-02-02T18:12:31","guid":{"rendered":"http:\/\/4563.org\/?p=21609"},"modified":"2020-02-03T02:12:31","modified_gmt":"2020-02-02T18:12:31","slug":"%e3%80%90%e6%9b%b4%e6%96%b0%e6%8f%90%e9%86%92%e3%80%91%e4%bd%bf%e7%94%a8github-actions%e8%87%aa%e5%8a%a8%e8%8e%b7%e5%8f%96%e8%ae%ba%e5%9d%9b%e7%a7%af%e5%88%86","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=21609","title":{"rendered":"\u3010\u66f4\u65b0+\u63d0\u9192\u3011\u4f7f\u7528GitHub Actions\u81ea\u52a8\u83b7\u53d6\u8bba\u575b\u79ef\u5206"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u5915\u65e5<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:12:47\t<\/p>\n<h3>\u3010\u66f4\u65b0+\u63d0\u9192\u3011\u4f7f\u7528GitHub Actions\u81ea\u52a8\u83b7\u53d6\u8bba\u575b\u79ef\u5206<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 \u5915\u65e5 \u4e8e 2020-1-13 10:42 \u7f16\u8f91 <\/p>\n<p> \u6ce8\u610f\uff1a\u7ecf@bot \u63d0\u9192\uff0c\u53d1\u73b0 fork \u7684\u4ed3\u5e93\u9ed8\u8ba4\u662f\u4e0d\u4f1a\u6267\u884c\u5b9a\u65f6\u4efb\u52a1\u7684\uff0c\u7ecf\u8fc7\u6211\u591a\u6b21\u6d4b\u8bd5\uff0c\u53d1\u73b0\u53ea\u9700\u8981\u624b\u52a8\u89e6\u53d1\u4e00\u6b21 Actions\uff0c\u4e4b\u540e\u5c31\u80fd\u591f\u6b63\u5e38\u5de5\u4f5c\u4e86\uff0c\u70e6\u8bf7\u5404\u4f4d fork \u4e86\u4ed3\u5e93\u800c\u6ca1\u6709\u624b\u52a8\u89e6\u53d1\u8fc7\u7684mjj\u624b\u52a8\u89e6\u53d1\u4e00\u4e0b<\/p>\n<p>  \u53e6\u5916\uff0c\u521a\u521a\u66f4\u65b0\u4e86\u4e00\u4e0b\uff0c\u73b0\u5728\u4e5f\u652f\u6301\u591a\u5e10\u53f7\u4e86\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u53bb\u62c9\u53d6\u540c\u6b65\u3002\u5176\u4ed6\u64cd\u4f5c\u4e0d\u7528\u53d8\uff0c\u76f4\u63a5\u5728 HOSTLOC_USERNAME \u548c HOSTLOC_PASSWORD \u4e24\u4e2a\u53d8\u91cf\u5185\u5199\u5165\u591a\u7ec4\u6570\u636e\u5373\u53ef\uff0c\u6570\u636e\u4e4b\u95f4\u7528\u534a\u89d2\u9017\u53f7 \u201c,\u201d \u5206\u5f00\uff0c\u5e10\u53f7\u548c\u5bc6\u7801\u9700\u8981\u4e00\u4e00\u5bf9\u5e94<\/p>\n<p>  \u8fd8\u6709\uff0c\u5728\u6d4b\u8bd5\u65f6\u53d1\u73b0\uff0cGithub Actions \u7684\u5b9a\u65f6\u4efb\u52a1\u5b58\u57285\u523010\u5206\u949f\u7684\u5ef6\u8fdf\uff0c\u5982\u679c\u5230\u65f6\u95f4\u4e86\u6ca1\u6709\u6267\u884c\u4efb\u52a1\uff0c\u4e0d\u7528\u7740\u6025\uff0c\u591a\u7b49\u4e00\u4f1a\u513f\u5c31\u884c\u4e86<\/p>\n<p>  ############\u4e0b\u9762\u662f\u539f\u5e16##################<\/p>\n<p>  \u4e0d\u77e5\u4e0d\u89c9\u90fd\u6c34\u5230\u5143\u8001\u4e86\uff0c\u4e00\u76f4\u5728\u767d**\uff0c\u521a\u521a\u968f\u624b\u7528Github Actions\u64b8\u4e86\u4e2a\u81ea\u52a8\u83b7\u53d6\u79ef\u5206\u7684\u5c0f\u5de5\u5177\uff0c\u4e5f\u5206\u4eab\u7ed9\u5927\u5bb6\u7528\u7528<\/p>\n<p>  \u5148\u4e0a\u5730\u5740\uff1ahttps:\/\/github.com\/xirikm\/hostloc-auto-get-points<\/p>\n<p>  \u4f7f\u7528\u65b9\u6cd5\u5176\u5b9eREADME\u5199\u7684\u5f88\u6e05\u695a\u4e86\uff0c\u8fd9\u91cc\u590d\u5236\u8fc7\u6765\u5427<\/p>\n<p>  **************************************<br \/>  Fork \u672c\u4ed3\u5e93\uff0c\u7136\u540e\u70b9\u51fb\u4f60\u7684\u4ed3\u5e93\u53f3\u4e0a\u89d2\u7684 Settings\uff0c\u627e\u5230 Secrets \u8fd9\u4e00\u9879\uff0c\u6dfb\u52a0\u4e24\u4e2a\u79d8\u5bc6\u73af\u5883\u53d8\u91cf\u3002<\/p>\n<p>  https:\/\/img.xirikm.net\/images\/VIAs.png<\/p>\n<p>  \u5176\u4e2d HOSTLOC_USERNAME \u662f\u4f60\u5728 Hostloc \u7684\u5e10\u6237\u540d\uff0cHOSTLOC_PASSWORD \u662f\u4f60\u7684\u5e10\u6237\u5bc6\u7801\u3002<\/p>\n<p>  \u8bbe\u7f6e\u597d\u73af\u5883\u53d8\u91cf\u540e\u70b9\u51fb\u4f60\u7684\u4ed3\u5e93\u4e0a\u65b9\u7684 Actions \u9009\u9879\uff0c\u786e\u8ba4\u5728 Fork \u7684\u4ed3\u5e93\u4e0a\u542f\u7528 Github Actions \u5373\u53ef\u3002<\/p>\n<p>  https:\/\/img.xirikm.net\/images\/VZ5E.png<\/p>\n<p>  \u4ed3\u5e93\u5185\u5305\u542b\u7684 GitHub Actions \u811a\u672c\u6bcf\u5929\u4f1a\u5728\u56fd\u9645\u6807\u51c6\u65f6\u95f4 17 \u70b9\uff08\u5317\u4eac\u65f6\u95f4\u51cc\u6668 1 \u70b9\uff09\u81ea\u52a8\u6267\u884c\uff0c\u4f60\u4e5f\u53ef\u4ee5\u901a\u8fc7 Push \u64cd\u4f5c\u624b\u52a8\u89e6\u53d1\u3002<br \/>  **************************************<\/p>\n<p>  Fork \u4e4b\u540e\u4e0d\u60f3\u7b49\uff0c\u60f3\u8981\u7acb\u5373\u8bd5\u4e00\u4e0b\u6548\u679c\u7684\u8bdd\u81ea\u5df1\u968f\u4fbf\u6539\u70b9\u5565\u63d0\u4ea4\u4e00\u4e0b\u5c31\u884c\u4e86<\/p>\n<p>  \u4ee3\u7801\u5f88\u7b80\u5355\uff0c\u539f\u7406\u4e5f\u6ca1\u5565\u597d\u8bf4\u7684\uff0c\u5c31\u662f\u6a21\u62df\u767b\u5f55\uff0c\u7136\u540e\u4f7f\u7528Github Actions\u5b9a\u65f6\u6267\u884c\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u81ea\u5df1\u53bb\u7ffb\u4ee3\u7801\u6216\u8005\u770b\u770b\u6211\u7684\u535a\u5ba2\uff1f\uff1ahttps:\/\/xirikm.net\/2020\/111-1.html<\/p>\n<p>  \t\t\t\t\t<strong>\u5915\u65e5<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-12 00:05:25\t<\/p>\n<h3><\/h3>\n<p>  \t\tbot \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 21:38<br \/>  \u770b\u5b8c\u4ee3\u7801\u540e\u6211\u5efa\u8bae\u697c\u4e3b\u7528\u6211\u7684<br \/>  \u6211\u7684\u652f\u6301\u591a\u8d26\u53f7\uff0c\u9632ddos\uff0c\u9519\u8bef\u91cd\u8bd5\uff0c\u8d26\u53f7\u4e0d\u5b58\u5728\u91cd\u65b0\u8bbf\u95ee\u5176\u4ed6\u8d26\u53f7<\/p>\n<p> \u6211\u521a\u521a\u8bd5\u4e86\uff0c\u53ea\u662f\u70b9\u542f\u7528\u7684\u8bdd\u786e\u5b9e\u4e0d\u4f1a\u6267\u884c\u5b9a\u65f6\u4efb\u52a1\u3002\u4f46\u662f\u624b\u52a8\u89e6\u53d1\u4e00\u6b21\u4e4b\u540e\u5c31\u53ef\u4ee5\u6b63\u5e38\u5de5\u4f5c\u4e86\u3002<\/p>\n<p>  \u8fd9\u4e1c\u897f\u672c\u6765\u5c31\u662f\u5199\u7740\u73a9\u561b\uff0c\u5206\u4eab\u51fa\u6765\u4e5f\u6ca1\u6709\u8bf4\u5f3a\u8feb\u8c01\u7528\uff0c\u591a\u79cd\u65b9\u6cd5\u3001\u591a\u4e2a\u601d\u8def\u800c\u5df2\u3002<\/p>\n<p>  \u53e6\u5916\uff0c\u6211\u521a\u521a\u66f4\u65b0\u4e86\u4e00\u4e0b\uff0c\u73b0\u5728\u4f1a\u68c0\u67e5\u767b\u5f55\u72b6\u6001\uff0c\u4e5f\u652f\u6301\u591a\u5e10\u53f7\u4e86yc007t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>bot<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 21:38:27\t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 bot \u4e8e 2020-1-11 21:50 \u7f16\u8f91 <\/p>\n<p> \u770b\u5b8c\u4ee3\u7801\u540e\u6211\u5efa\u8bae\u697c\u4e3b\u7528\u6211\u7684:lol<br \/>  \u6211\u7684\u652f\u6301\u591a\u8d26\u53f7\uff0c\u9632ddos\uff0c\u9519\u8bef\u91cd\u8bd5\uff0c\u8d26\u53f7\u4e0d\u5b58\u5728\u91cd\u65b0\u8bbf\u95ee\u5176\u4ed6\u8d26\u53f7<\/p>\n<p>  \u53e6\u5916\u9ed8\u8ba4fork\u662f\u4e0d\u4f1a\u8bc6\u522b\u5230github actions\u7684\uff0c\u5373\u4f7f\u4f60\u5b9a\u4e49\u4e86\u5b9a\u65f6\u6267\u884c\uff0c\u90fd\u9700\u8981\u6709\u64cd\u4f5c\u6765\u6fc0\u6d3b\u8fd9\u4e2a\u8bc6\u522b<\/p>\n<p>  \u70b9\u542f\u7528\u662f\u6ca1\u6548\u679c\u7684\uff0c\u4f60\u53ef\u4ee5\u641c\u4e0b\uff0c\u5f88\u591a\u4eba\u53cd\u6620\u8fc7\u8fd9\u4e2a\u95ee\u9898\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Benladen<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:14:53\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5143\u8001\u8981\u964d\u4ef7\uff0c\u7b11\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5c0f\u7a74\u513f<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:15:25\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f38\u624b\u3002\u4f38\u624b\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5915\u65e5<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:17:15\t<\/p>\n<h3><\/h3>\n<p>  \t\tBenladen \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:14<br \/>  \u5143\u8001\u8981\u964d\u4ef7\uff0c\u7b11<\/p>\n<p> \u6211\u4ee5\u524d\u6bcf\u5929\u90fd\u662f\u7528\u8fd9\u4e32js\u624b\u52a8\u70b9\u7684\uff0c\u4fdd\u5b58\u6210\u4e66\u7b7e\uff0c\u6bcf\u5929\u70b9\u4e00\u4e0b\uff0c\u73b0\u5728\u4e0d\u60f3\u70b9\u4e86yc010t<br \/>  javascript:(function(){for(i=0;i&lt;12;i++){var iframe=document.createElement(&#8216;iframe&#8217;),id=Math.ceil(Math.random()*25000);iframe.src=&quot;https:\/\/www.hostloc.com\/space-uid-&quot;+id+&quot;.html&quot;;document.body.appendChild(iframe);}})()\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zxxx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:36:27\t<\/p>\n<h3><\/h3>\n<p>  \t\tjavascript: (function() {<br \/>  for (i = 0; i &lt; 12; i++) {<br \/>  &nbsp; &nbsp; var iframe = document.createElement(&#8216;iframe&#8217;),<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;id = Math.ceil(Math.random() * 25000);<br \/>  &nbsp; &nbsp; iframe.src = &quot;https:\/\/www.hostloc.com\/space-uid-&quot; + id + &quot;.html&quot;;<br \/>  &nbsp; &nbsp; document.body.appendChild(iframe);<br \/>  }<br \/>  })()\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zxxx<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:47:25\t<\/p>\n<h3><\/h3>\n<p>  \u8bf7\u6559\u697c\u4e3b\u8fd9\u91cc\u600e\u4e48\u9009\u62e9\u5462\uff1f\u8c22\u8c22\uff01\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>aimei<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:51:12\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u786c\u662f\u6ca1\u64cd\u4f5c\u6210\u529f\u3002\u3002\u3002\u83dc\u9e1f\u4e0d\u5bb9\u6613\u554a \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5915\u65e5<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:51:53\t<\/p>\n<h3><\/h3>\n<p>  \t\tzxxx \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:47<br \/>  \u8bf7\u6559\u697c\u4e3b\u8fd9\u91cc\u600e\u4e48\u9009\u62e9\u5462\uff1f\u8c22\u8c22\uff01<\/p>\n<p>  \u8fd9\u91cc\u4e0d\u9700\u8981\u505a\u4efb\u4f55\u8bbe\u7f6e\uff0c\u9ed8\u8ba4\u5c31\u884c\u4e86<br \/>  \u53ea\u9700\u8981\u8bbe\u7f6e\u4e24\u4e2asecrets\u53d8\u91cf\uff0c\u7136\u540e\u5230actions\u90a3\u91cc\u70b9\u4e00\u4e0b\u5c31\u884c\u4e86\uff08\u56e0\u4e3afork\u7684\u4ed3\u5e93\u9ed8\u8ba4\u4e0d\u4f1a\u542f\u7528github actions\uff0c\u6240\u4ee5\u9700\u8981\u53bb\u624b\u52a8\u786e\u8ba4\u5f00\u542f\uff09<br \/>  https:\/\/img.xirikm.net\/images\/VbB7.png\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>dforel<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:52:53\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5927\u4f6c\u516d\u516d\u516d\u3002\u3002\u3002\u3002\u652f\u6301&#8230;.\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u5915\u65e5<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:56:44\t<\/p>\n<h3><\/h3>\n<p>  \t\taimei \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1-11 19:51<br \/>  \u786c\u662f\u6ca1\u64cd\u4f5c\u6210\u529f\u3002\u3002\u3002\u83dc\u9e1f\u4e0d\u5bb9\u6613\u554a<\/p>\n<p> \u989d\uff0c\u4e0d\u5c31\u4e09\u4e2a\u6b65\u9aa4\u561b<br \/>  fork\u4ed3\u5e93<br \/>  \u7136\u540e\u5230\u4f60fork\u7684\u4ed3\u5e93\u9875\u9762\uff0c\u70b9\u51fbsettings\uff0c\u6dfb\u52a0\u4e24\u4e2asecrets\u53d8\u91cf<br \/>  \u7136\u540e\u56de\u5230\u4f60\u7684\u4ed3\u5e93\u9875\u9762\uff0c\u70b9\u51fb\u4e0a\u9762\u90a3\u4e00\u6392\u6309\u94ae\u4e2d\u7684actions\uff0c\u8fd9\u65f6\u5019\u5c31\u662f\u6211\u8fd9\u4e2a\u5e16\u5b50\u4e0a\u9762\u7b2c\u4e8c\u5f20\u56fe\u7247\u7684\u6837\u5b50\uff0c\u70b9\u6700\u4e2d\u95f4\u90a3\u4e2a\u6309\u94ae\u5c31\u884c\u4e86\u3002<\/p>\n<p>  \u5f04\u5b8c\u4e4b\u540e\u4e0d\u4f1a\u7acb\u523b\u6267\u884c\u7684\uff0c\u9700\u8981\u7b49\u5230\u51cc\u66681\u70b9\uff0c\u4f60\u8981\u662f\u60f3\u7acb\u5373\u770b\u5230\u6548\u679c\u7684\u8bdd\uff0c\u628aREADME\u6587\u4ef6\u968f\u4fbf\u6539\u51e0\u4e2a\u5b57\u7b26\u63d0\u4ea4\u4e00\u4e0b\uff0c\u7136\u540e\u518d\u70b9\u51fb\u4e0a\u9762\u7684Actions\u9009\u9879\u5c31\u80fd\u770b\u5230\u4efb\u52a1\u6b63\u5728\u6267\u884c\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5915\u65e5 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/21609"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21609"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/21609\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21609"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}