{"id":127,"date":"2026-08-23T23:02:24","date_gmt":"2026-08-23T15:02:24","guid":{"rendered":"https:\/\/blog-1501514697.top\/?p=127"},"modified":"2026-08-23T23:10:29","modified_gmt":"2026-08-23T15:10:29","slug":"gitea%e4%bd%bf%e7%94%a8%e5%b7%a5%e4%bd%9c%e6%b5%81%e9%83%a8%e7%bd%b2vue%e7%a8%8b%e5%ba%8f","status":"publish","type":"post","link":"https:\/\/blog-1501514697.top\/?p=127","title":{"rendered":"Gitea\u4f7f\u7528\u5de5\u4f5c\u6d41\u90e8\u7f72Vue\u7a0b\u5e8f"},"content":{"rendered":"\n<p class=\"has-text-align-left wp-block-paragraph\">\u4eca\u5929\u5076\u7136\u53d1\u73b0Gitea\u4e5f\u80fd\u7528\u5de5\u4f5c\u6d41\uff0c\u4e4b\u524d\u90fd\u662f\u7528Jenkins\u6765\u90e8\u7f72\u6d4b\u8bd5\u7a0b\u5e8f\u7684\uff0c\u9042\u66f4\u6362\u4e3aGitea\u81ea\u5e26\u7684\u5de5\u4f5c\u6d41\u90e8\u7f72\u5427\uff0c\u800c\u4e14\u4e5f\u80fd\u7701\u4e00\u4e9b\u5185\u5b58\uff0c\u672c\u6765\u6211\u7684\u817e\u8baf\u4e91\u7684\u5c0f\u4e3b\u673a\u914d\u7f6e\u5c31\u4e0d\u9ad8\uff0c\u591a\u5f00\u4e00\u4e2aJenkis\u8fd8\u5360\u7528\u6211\u7684\u5185\u5b58\ud83d\ude2d\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u68c0\u67e5Gitea\u5de5\u4f5c\u6d41\u662f\u5426\u5f00\u542f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.gitea.com\/zh-cn\/usage\/actions\/quickstart\/\" target=\"_blank\"  rel=\"nofollow\" >\u5b98\u65b9\u6587\u6863<\/a>\u8bf4\u660e1.19.0\u7248\u672c\u4e4b\u540e\u90fd\u53ef\u4ee5\u4f7f\u7528\u5de5\u4f5c\u6d41\uff0c\u4f46\u662f1.19.0&lt;=&gt;1.21.0\u4e4b\u95f4\u7684\u7248\u672c\u7684\u8bdd\uff0c\u9700\u8981\u624b\u52a8\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u5f00\u542f\u3002&gt;=1.21.0\u7248\u672c\u7684\u8bdd\uff0c\u9ed8\u8ba4\u662f\u5f00\u542f\u7684\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u5728\u8bbe\u7f6e\u91cc\u9762\uff0c\u6709\u5de5\u4f5c\u6d41\u8fd9\u4e2a\u9009\u9879\uff0c\u5c31\u8bf4\u660e\u5f00\u542f\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787478921-\u56fe\u7247-1024x682.png\" alt=\"\" class=\"wp-image-128\" srcset=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787478921-\u56fe\u7247-1024x682.png 1024w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787478921-\u56fe\u7247-300x200.png 300w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787478921-\u56fe\u7247-768x511.png 768w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787478921-\u56fe\u7247.png 1242w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5f00\u542f\u5de5\u4f5c\u6d41\u529f\u80fd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709\u7684\u8bdd\u5c31\u53ef\u4ee5\u8df3\u8fc7\u8fd9\u4e00\u6b65\u4e86<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u6ca1\u6709\u7684\u8bdd\uff0c\u5c31\u9700\u8981\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\u624b\u52a8\u5f00\u542f\u4e86\u3002\u5f53\u65f6\u8fd8\u770b\u4e86\u4e00\u4e0bgitea\u7248\u672c\uff0cgitea version\u540e\u9762\u662f\u7a7a\u7684\uff0c\u5f88\u7591\u60d1\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/gitea --version\ngitea version  built with GNU Make 4.3, go1.25.5 X:jsonv2 : bindata<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e2\u7136\u6ca1\u6709\u7248\u672c\uff0c\u90a3\u5c31\u770b\u4e0b<a href=\"https:\/\/docs.gitea.com\/zh-cn\/usage\/actions\/quickstart\/\" target=\"_blank\"  rel=\"nofollow\" >\u5b98\u65b9\u6587\u6863<\/a>\u624b\u52a8\u5f00\u542f\u4e00\u4e0b\u8fd9\u4e2a\u529f\u80fd\u5427\uff0c\u6211\u5f53\u65f6\u662f\u4e8c\u8fdb\u5236\u7f16\u8bd1\u8fd0\u884c\u7684gitea\uff0c\u914d\u7f6e\u6587\u4ef6\u6b63\u5e38\u5728\u7f16\u8bd1\u76ee\u5f55\u4e0b\u9762\u7684custom\/conf\/app.ini\uff0c\u5728\u540e\u9762\u8ffd\u52a0\u4e0b\u9762\u7684\u4ee3\u7801\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;actions]\nENABLED=true<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fee\u6539\u540e\u4fdd\u5b58\uff0c\u7136\u540e\u91cd\u542fgitea\uff0c\u6211\u8fd9\u8fb9\u662f\u4ea4\u7ed9\u4e86systemctl\u6765\u6258\u7ba1\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart gitea<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u521b\u5efaGitea Runner\u8fd0\u884c\u5668<\/h2>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">\u5f00\u542f\u4e4b\u540e\uff0c\u6b63\u5e38\u662f\u6ca1\u6709\u5de5\u4f5c\u6d41\u6ef4\uff0c\u54b1\u9700\u8981\u624b\u52a8\u914d\u7f6e\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787480609-\u56fe\u7247-1024x682.png\" alt=\"\" class=\"wp-image-130\" srcset=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787480609-\u56fe\u7247-1024x682.png 1024w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787480609-\u56fe\u7247-300x200.png 300w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787480609-\u56fe\u7247-768x511.png 768w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787480609-\u56fe\u7247.png 1242w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">\u9996\u5148\u8981\u5728Gitea\u4e2d\u6ce8\u518c\u4e00\u4e2agitea-runner\uff0c\u8fd9\u4e2a\u53ef\u4ee5\u7406\u89e3\u4e3a\u662fCI\/CD\u7684\u6267\u884c\u5668\uff0c\u8d1f\u8d23\u8c03\u5ea6\u6d41\u6c34\u7ebf\u4efb\u52a1\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6211\u8fd9\u8fb9\u7528docker\u6765\u5bf9gitea-runner\u8fdb\u884c\u90e8\u7f72\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>root@VM-0-2-ubuntu:~# docker pull gitea\/runner:latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u627e\u4e00\u4e0b\u5bb9\u5668\u4e2d\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u6839\u636e\u8fd9\u4e2a\u53ef\u6267\u884c\u6587\u4ef6\u6765\u751f\u6210config.yaml\u6587\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run --rm \\\n  --entrypoint sh \\\n  gitea\/runner:latest \\\n  -c 'find \/ -type f -perm -111 2&gt;\/dev\/null | grep -E \"gitea-runner|runner|act_runner\"'<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>docker run --rm\uff1a\u5bb9\u5668\u8fd0\u884c\u7ed3\u675f\u540e\uff0c\u81ea\u52a8\u628a\u8fd9\u4e2a\u5bb9\u5668\u5220\u9664<\/li>\n\n\n\n<li>--entrypoint sh\uff1a\u4f7f\u7528shell\u65b9\u5f0f\u8fdb\u5165<\/li>\n\n\n\n<li>gitea\/runner:latest\uff1a\u6307\u5b9a\u955c\u50cf\u6587\u4ef6<\/li>\n\n\n\n<li>-c\uff1a\u5728\u5bb9\u5668\u4e2d\u6267\u884c\u67d0\u884c\u547d\u4ee4<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u5982\u679c\u8f93\u5165\u5982\u4e0b\u6240\u793a\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/usr\/local\/bin\/gitea-runner<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8fd9\u91cc\u6211\u653e\u5728\u4e86runner-data\u76ee\u5f55\uff0c\u76ee\u5f55\u662f\u81ea\u5b9a\u4e49\u7684\uff0c\u6839\u636e\u4f60\u7684\u60f3\u6cd5\u6765\u5c31\u884c\u3002\ncd \/home\/git\/gitea-main\/runner-data\n# \u5728\u5f53\u524d\u76ee\u5f55\uff0c\u751f\u6210config.yaml\ndocker run --rm \\\n  --entrypoint \"\" \\\n  gitea\/runner:latest \\\n  \/usr\/local\/bin\/gitea-runner generate-config &gt; config.yaml<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u7136\u540e\u521b\u5efa\u5e76\u542f\u52a8gitea-runner\u7684docker\u5bb9\u5668\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker run -d \\\n  --name gitea-runner \\\n  --restart=always \\\n  -e GITEA_INSTANCE_URL=http:\/\/10.0.0.2:8998 \\\n  -e GITEA_RUNNER_REGISTRATION_TOKEN=zf0ExxxxxxxxxxxxxxxxxxxxTx8 \\\n  -e GITEA_RUNNER_NAME=runner-01 \\\n  -e CONFIG_FILE=\/data\/config.yaml \\\n  -v \/home\/git\/gitea-main\/runner-data:\/data \\\n  -v \/var\/run\/docker.sock:\/var\/run\/docker.sock \\\n  gitea\/runner:latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u547d\u4ee4\u89e3\u91ca\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>docker run -d \u521b\u5efa\u5e76\u8fd0\u884c\u4e00\u4e2a\u5bb9\u5668<\/li>\n\n\n\n<li>--name gitea-runne \u5b9a\u4e49\u5bb9\u5668\u540d\u5b57\uff0c\u540d\u5b57\u4e0d\u53ef\u91cd\u590d<\/li>\n\n\n\n<li>--restart=always \u8bbe\u7f6e\u5bb9\u5668\u81ea\u52a8\u91cd\u542f\u7b56\u7565<\/li>\n\n\n\n<li>-e \u7ed9\u5bb9\u5668\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf\u7528\u7684<\/li>\n\n\n\n<li>GITEA_INSTANCE_URL\uff1aGitea\u7684\u5957\u63a5\u5b57\u4fe1\u606f<\/li>\n\n\n\n<li>GITEA_RUNNER_REGISTRATION_TOKEN\uff1a\u5728gitea\u7528\u6237\u8bbe\u7f6e\u91cc\u9762\uff0c\u70b9\u51fb\u5de5\u4f5c\u6d41-&gt;\u8fd0\u884c\u5668\uff0c\u70b9\u51fb\u53f3\u4e0a\u89d2\u7684\u521b\u5efa\u8fd0\u884c\u5668\u5c31\u4f1a\u627e\u5230Token\u5bc6\u94a5<\/li>\n\n\n\n<li>GITEA_RUNNER_NAME\uff1a\u7ed9runner\u8d77\u4e2a\u540d<\/li>\n\n\n\n<li>CONFIG_FILE\uff1a\u6307\u5b9a\u52a0\u8f7d\u54ea\u4e2a\u914d\u7f6e\u6587\u4ef6\uff0c\u540e\u9762\u4f1a\u8bb2\u4e3a\u4ec0\u4e48\u8981\u7528\u5230\u8fd9\u4e2ayaml\u6587\u4ef6\u3002<\/li>\n\n\n\n<li>-v [\u5bbf\u4e3b\u673a\u76ee\u5f55]:[docker\u5bb9\u5668\u5185\u7684\u76ee\u5f55] \u76ee\u5f55\u6620\u5c04\uff0c\u5982\u679c\u5728\/data\u76ee\u5f55\u4e0b\u5199\u5165\u6587\u4ef6\uff0c\u90a3\u4e48\u5bbf\u4e3b\u673a\u4e0a\u7684\/home\/git\/gitea-main\/runner-data\u76ee\u5f55\u4e0b\u4e5f\u4f1a\u770b\u5230<\/li>\n\n\n\n<li>-v \/var\/run\/docker.sock:\/var\/run\/docker.sock \u6302\u8f7d\u540e\u53ef\u4ee5\u4e0e\u5bbf\u4e3b\u673a\u4e0a\u7684docker\u8fdb\u884c\u901a\u4fe1\uff0c\u63a7\u5236\u5bbf\u4e3b\u673a\u4e0a\u7684docker\u7a0b\u5e8f<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u51fa\u610f\u5916\u7684\u8bdd\uff0c\u4f60\u4f1a\u5728\u7528\u6237\u8bbe\u7f6e\u91cc\u9762\u770b\u5230\u8fd9\u4e2a\u8fd0\u884c\u5668<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496041-\u56fe\u7247-1024x682.png\" alt=\"\" class=\"wp-image-138\" srcset=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496041-\u56fe\u7247-1024x682.png 1024w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496041-\u56fe\u7247-300x200.png 300w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496041-\u56fe\u7247-768x511.png 768w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496041-\u56fe\u7247.png 1242w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db\u3001\u521b\u5efa\u5de5\u4f5c\u6d41<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u968f\u4fbf\u9009\u62e9\u4e00\u4e2a\u9879\u76ee\uff0c\u5728\u9879\u76ee\u7684\u4ee3\u7801\u91cc\u9762\uff0c\u521b\u5efa\u76ee\u5f55\u548cyml\u5de5\u4f5c\u6d41\u6587\u4ef6\u3002\u76ee\u5f55\u5c42\u7ea7\u4e3a.gitea\/workflows\/test.yml<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">test.yml\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>name: test\n\n# \u8868\u793a\u5728dev\u5206\u652f\u5185\u89e6\u53d1\non:\n  push:\n    branches:\n      - dev\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    # \u521b\u5efa\u5e76\u8fd0\u884c\u4e00\u4e2anode22\u7248\u672c\u7684docker\u5bb9\u5668\uff0c\n    # \u5e76\u628a\u5bbf\u4e3b\u673a\u76ee\u5f55\/home\/git\/deploy-test\/jxpjpt\/front\/admin\u6302\u8f7d\u5230node22\u7248\u672c\u7684docker\u5bb9\u5668\u5185\u7684\/depoly\u76ee\u5f55\u4e2d\n    container:\n      image: node:22\n      volumes:\n        - \/home\/git\/deploy-test\/jxpjpt\/front\/admin:\/deploy\n\n    # \u6b65\u9aa4\u5217\u8868\n    steps:\n      - name: \u62c9\u53d6\u4ee3\u7801\n        run: |\n          git clone \\\n          --branch dev \\\n          --single-branch \\\n          http:\/\/${{ secrets.CI_USERNAME }}:${{ secrets.CI_TOKEN }}@10.0.0.2:8998\/Sylphia\/jxpjpt-frontend-admin.git .\n\n      # \u8fd9\u91cc\u6211\u4f7f\u7528\u7684\u662fpnpm\n      - name: \u542f\u7528 pnpm\n        run: corepack enable\n\n      - name: \u67e5\u770b\u7248\u672c\n        run: |\n          node -v\n          pnpm -v\n\n      - name: \u5b89\u88c5\u4f9d\u8d56\n        run: pnpm install --frozen-lockfile\n\n      - name: \u6784\u5efa\n        run: pnpm run build:dev\n\n      - name: \u67e5\u770b\u6784\u5efa\u7ed3\u679c\n        run: |\n          ls -lah\n          ls -lah dist\n          \n      # \u6211\u8fd9\u91cc\u6700\u7ec8\u662f\u8981\u628a\u6784\u5efa\u4e4b\u540e\u7684Vue\u9759\u6001\u6587\u4ef6\u653e\u5230\u5bbf\u4e3b\u673a\u7684\/home\/git\/deploy-test\/jxpjpt\/front\/admin\u76ee\u5f55\u4e2d\u53bb\n      # \u8fd9\u91cc\u53ef\u4ee5\u770b\u6210\u64cd\u4f5c\/deploy\u6587\u4ef6\u5939\u4e0e\u64cd\u4f5c\u5bbf\u4e3b\u673a\u7684\u6587\u4ef6\u5939\u662f\u7b49\u4ef7\u7684\n      - name: \u90e8\u7f72\u5230\u5bbf\u4e3b\u673a\n        run: |\n          rm -rf \/deploy\/*\n          cp -r dist\/* \/deploy\/\n\n      - name: \u67e5\u770b\u90e8\u7f72\u7ed3\u679c\n        run: |\n          ls -lah \/deploy<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>secrets.CI_USERNAME\uff1a\u5728\u9879\u76ee\u8bbe\u7f6e-&gt;\u5de5\u4f5c\u6d41-&gt;\u5bc6\u94a5\u91cc\u9762\uff0c\u70b9\u51fb\u521b\u5efa\u5bc6\u94a5\uff1b\u540d\u79f0\u586b\u5199CI_USERNAME\uff0c\u503c\u7684\u8bdd\u586b\u5199\u53ef\u4ee5\u8bbf\u95ee\u5f53\u524d\u9879\u76ee\u7684\u7528\u6237\u540d\u3002<\/li>\n\n\n\n<li>secrets.CI_TOKEN\uff1a\u5728\u7528\u6237\u8bbe\u7f6e-&gt;\u5e94\u7528\uff0c\u521b\u5efa\u65b0\u7684\u4ee4\u724c\uff0c\u7ed9\u4e88\u4ed3\u5e93\u8bfb\u53d6\u6743\u9650\uff0c\u5e76\u8bb0\u4e0b\uff1b\u5728\u9879\u76ee\u8bbe\u7f6e-&gt;\u5de5\u4f5c\u6d41-&gt;\u5bc6\u94a5\u91cc\u9762\uff0c\u70b9\u51fb\u521b\u5efa\u5bc6\u94a5\uff0c\u540d\u79f0\u586b\u5199CI_TOKEN\uff0c\u503c\u586b\u5199\u521a\u624d\u521b\u5efa\u7684\u4ee4\u724c\u4fe1\u606f\u3002<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u63d0\u4ea4\u521a\u624d\u521b\u5efa\u7684test.yml\u6587\u4ef6\uff0c\u5728\u9879\u76ee\u4e2d\u70b9\u51fb\u5de5\u4f5c\u6d41\u5c31\u4f1a\u770b\u5230\u6709\u4efb\u52a1\u89e6\u53d1\u4e86\uff0c\u4eca\u540e\u53ea\u8981\u63d0\u4ea4\u4e00\u6b21\u4ee3\u7801\uff0c\u5c31\u4f1a\u521b\u5efa\u4e00\u6b21\u5de5\u4f5c\u6d41\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496801-\u56fe\u7247-1024x682.png\" alt=\"\" class=\"wp-image-141\" srcset=\"https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496801-\u56fe\u7247-1024x682.png 1024w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496801-\u56fe\u7247-300x200.png 300w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496801-\u56fe\u7247-768x511.png 768w, https:\/\/blog-1501514697.top\/wp-content\/uploads\/2026\/08\/1787496801-\u56fe\u7247.png 1242w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5230\u6b64\u4e3a\u6b62\uff0c\u5de5\u4f5c\u6d41\u5c31\u521b\u5efa\u5b8c\u6bd5\u4e86\ud83d\ude04<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u5929\u5076\u7136\u53d1\u73b0Gitea\u4e5f\u80fd\u7528\u5de5\u4f5c\u6d41\uff0c\u4e4b\u524d\u90fd\u662f\u7528Jenkins\u6765\u90e8\u7f72\u6d4b\u8bd5\u7a0b\u5e8f\u7684\uff0c\u9042\u66f4\u6362\u4e3aGitea\u81ea\u5e26\u7684\u5de5\u4f5c\u6d41\u90e8\u7f72\u5427\uff0c\u800c\u4e14\u4e5f\u80fd\u7701\u4e00\u4e9b &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=127"}],"version-history":[{"count":18,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":149,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=\/wp\/v2\/posts\/127\/revisions\/149"}],"wp:attachment":[{"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog-1501514697.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}