本站的搭建记录

  1. 1. Hexo
    1. 1.1. Hexo插件
      1. 1.1.1. 站点功能拓展
      2. 1.1.2. 文章书写功能拓展
  2. 2. Travis CI
    1. 2.1. 私有Git子模块的API-Token
    2. 2.2. Travis CI平台日志
  3. 3. 记录
    1. 3.1. 站点主题的相关记录
  4. 4. 📖参看
  5. 5. ※参考和引用
  6. 6. 🔗外部链接

本站从零开始的填坑搭建记录。

Github ReleaseGithub WatchersGithub Stars

Hexo 是一个快速、简洁且高效的博客框架。Hexo 使用 Markdown(或其他渲染引擎)解析文章,在几秒内,即可利用靓丽的主题生成静态网页。

Hexo插件

站点功能拓展

文章书写功能拓展

  • hexo-markmap

    Innsert a mindmap by markdown in your hexo blog by markmap.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    在你的博客中使用markdown插入思维导图,使用markmap。

  • hexo-tag-hint

    hexo-tag-hint is a simplistic plugin for Hexo which enables presenting a floating bubble containing the hint text when the content text gets hovered or clicked (yes, mobile-ready!).

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    文本浮动气泡插件

Travis CI

私有Git子模块的API-Token

出于后期站点运营管理的考虑,【博客站点主框架】应该和【博客站点主题】以及【博客文章仓库】分开管理,所以将【博客站点】设计为Git主模块,【博客站点主题】(Github上拉取的分支,在Github上为公开项目)和【博客文章仓库】(在Github上为私有项目)都作为Git子模块。

问题就出在这其中:

  1. 在 Travis CI 平台上,Git 子模块的相关操作。

    解决方案
  2. Git子模块【博客文章仓库】在Github上为私有项目;在Travis CI平台上,需要根据所选的安全策略对其进行特殊处理。

    解决方案
    • [ Private Dependencies GitHub - Travis CI ]#API Token

      • .travis.yml相关部分:⤵

        1
        2
        3
        4
        5
        6
        7
        8
        #=== 【Travis CI】 private-dependencies → api-token === (start)
        ## Docs: https://docs.travis-ci.com/user/private-dependencies/#api-token
        git:
        submodules: false
        before_install:
        - echo -e "\n\nmachine github.com\n login $GH_TOKEN\n" >~/.netrc
        - git submodule update --init --recursive
        #=== 【Travis CI】 private-dependencies → api-token === (end)
    相关 → 安全策略选择
    Authentication Protocol Dependency URL format Gives access to Notes
    Deploy Key SSH git@github.com/… single repository used by default for main repository
    User Key SSH git@github.com/… all repos user has access to recommended for dependencies
    Password HTTPS https://… all repos user has access to password can be encrypted
    API token HTTPS https://… all repos user has access to token can be encrypted

Travis CI平台日志

  • 日志记录

    • Git子模块相关
      https://api.travis-ci.com/v3/job/496362702/log.txt
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      41
      42
      43
      44
      45
      46
      47
      48
      49
      50
      51
      52
      53
      54
      55
      56
      57
      58
      59
      60
      61
      62
      63
      64
      65
      66
      67
      68
      69
      70
      71
      72
      73
      74
      75
      76
      77
      78
      79
      80
      81
      82
      83
      84
      85
      86
      87
      88
      89
      90
      91
      92
      93
      94
      95
      96
      97
      98
      99
      100
      101
      102
      103
      104
      105
      106
      107
      108
      109
      110
      111
      112
      113
      114
      115
      116
      117
      118
      119
      120
      121
      122
      123
      124
      125
      126
      127
      128
      129
      130
      131
      132
      133
      134
      135
      136
      137
      138
      139
      140
      141
      142
      143
      144
      145
      146
      147
      148
      149
      150
      151
      152
      153
      154
      155
      156
      157
      158
      159
      160
      161
      162
      163
      164
      165
      166
      167
      168
      169
      170
      171
      172
      173
      174
      175
      176
      177
      178
      179
      180
      181
      182
      183
      184
      185
      186
      187
      188
      189
      190
      191
      192
      193
      194
      195
      196
      197
      198
      199
      200
      201
      202
      203
      204
      205
      206
      207
      208
      209
      210
      211
      212
      213
      214
      215
      216
      217
      218
      219
      220
      221
      222
      223
      224
      225
      226
      227
      228
      229
      230
      231
      232
      233
      234
      235
      236
      237
      238
      239
      240
      241
      242
      243
      244
      245
      246
      247
      248
      249
      250
      251
      252
      253
      254
      255
      256
      257
      258
      259
      260
      261
      262
      263
      264
      265
      266
      267
      268
      269
      270
      271
      272
      273
      274
      275
      276
      277
      278
      279
      280
      281
      282
      283
      284
      285
      286
      287
      288
      289
      290
      291
      292
      293
      294
      295
      296
      297
      298
      299
      300
      301
      302
      303
      304
      305
      306
      307
      308
      309
      310
      311
      312
      313
      314
      315
      316
      317
      318
      319
      320
      321
      322
      323
      324
      325
      326
      327
      328
      329
      330
      331
      332
      333
      334
      335
      336
      337
      338
      339
      340
      341
      342
      343
      344
      345
      346
      347
      348
      349
      350
      351
      352
      353
      354
      355
      356
      357
      358
      359
      360
      361
      362
      363
      364
      365
      366
      367
      368
      369
      370
      371
      372
      373
      374
      375
      376
      377
      378
      379
      380
      381
      382
      383
      384
      385
      386
      387
      388
      389
      travis_fold:start:worker_info
      Worker information
      hostname: 152cce68-6f4a-4341-81fe-7eaeefdef51e@1.worker-com-oss-6955bf87c5-hxzlp.gce-production-3
      version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
      instance: travis-job-ceb93927-64f3-4499-bb95-3f7320304628 travis-ci-sardonyx-xenial-1593004276-4d46c6b3 (via amqp)
      startup: 5.939950103s
      travis_fold:end:worker_info
      travis_time:start:150bf000
      travis_time:end:150bf000:start=1617710281006673902,finish=1617710281158064964,duration=151391062,event=no_world_writable_dirs
      travis_time:start:014f489a
      travis_time:end:014f489a:start=1617710281160985803,finish=1617710281164008949,duration=3023146,event=setup_filter
      travis_time:start:12bb32c7
      travis_time:end:12bb32c7:start=1617710281170122551,finish=1617710281179045631,duration=8923080,event=agent
      travis_time:start:00c3fcda
      travis_time:end:00c3fcda:start=1617710281181850435,finish=1617710281183926995,duration=2076560,event=check_unsupported
      travis_time:start:1ecf0d73
      travis_fold:start:system_info
      Build system information
      Build language: node_js
      Build dist: xenial
      Build id: 222256002
      Job id: 496362702
      Runtime kernel version: 4.15.0-1077-gcp
      travis-build version: 091d532a
      Build image provisioning date and time
      Wed Jun 24 13:36:52 UTC 2020
      Operating System Details
      Distributor ID: Ubuntu
      Description: Ubuntu 16.04.6 LTS
      Release: 16.04
      Codename: xenial
      Systemd Version
      systemd 229
      Cookbooks Version
      3f92a99 https://github.com/travis-ci/travis-cookbooks/tree/3f92a99
      git version
      git version 2.27.0
      bash version
      GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
      gcc version
      gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
      docker version
      Client:
      Version: 18.06.0-ce
      API version: 1.38
      Go version: go1.10.3
      Git commit: 0ffa825
      Built: Wed Jul 18 19:11:02 2018
      OS/Arch: linux/amd64
      Experimental: false

      Server:
      Engine:
      Version: 18.06.0-ce
      API version: 1.38 (minimum version 1.12)
      Go version: go1.10.3
      Git commit: 0ffa825
      Built: Wed Jul 18 19:09:05 2018
      OS/Arch: linux/amd64
      Experimental: false
      clang version
      clang version 7.0.0 (tags/RELEASE_700/final)
      jq version
      jq-1.5
      bats version
      Bats 0.4.0
      shellcheck version
      0.7.0
      shfmt version
      v2.6.3
      ccache version
      3.2.4
      cmake version
      cmake version 3.12.4
      heroku version
      heroku/7.42.1 linux-x64 node-v12.16.2
      imagemagick version
      Version: ImageMagick 6.8.9-9 Q16 x86_64 2019-11-12 http://www.imagemagick.org
      md5deep version
      4.4
      mercurial version
      version 4.8
      mysql version
      mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper
      openssl version
      OpenSSL 1.0.2g 1 Mar 2016
      packer version
      1.3.3
      postgresql client version
      psql (PostgreSQL) 10.13 (Ubuntu 10.13-1.pgdg16.04+1)
      ragel version
      Ragel State Machine Compiler version 6.8 Feb 2013
      sudo version
      1.8.16
      gzip version
      gzip 1.6
      zip version
      Zip 3.0
      vim version
      VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 18 2020 14:06:17)
      iptables version
      iptables v1.6.0
      curl version
      curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
      wget version
      GNU Wget 1.17.1 built on linux-gnu.
      rsync version
      rsync version 3.1.1 protocol version 31
      gimme version
      v1.5.4
      nvm version
      0.35.3
      perlbrew version
      /home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.88
      phpenv version
      rbenv 1.1.2-30-gc879cb0
      rvm version
      rvm 1.29.10 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
      default ruby version
      ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
      CouchDB version
      couchdb 1.6.1
      ElasticSearch version
      5.5.0
      Installed Firefox version
      firefox 63.0.1
      MongoDB version
      MongoDB 4.0.19
      PhantomJS version
      2.1.1
      Pre-installed PostgreSQL versions
      9.4.26
      9.5.22
      9.6.18
      Redis version
      redis-server 6.0.5
      Pre-installed Go versions
      1.11.1
      ant version
      Apache Ant(TM) version 1.9.6 compiled on July 20 2018
      mvn version
      Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
      gradle version
      Gradle 5.1.1!
      lein version
      Leiningen 2.9.3 on Java 11.0.2 OpenJDK 64-Bit Server VM
      Pre-installed Node.js versions
      v10.21.0
      v11.0.0
      v12.18.1
      v4.9.1
      v6.17.1
      v8.12.0
      v8.17.0
      v8.9
      phpenv versions
      system
      5.6
      5.6.40
      7.1
      7.1.27
      7.2
      * 7.2.15 (set by /home/travis/.phpenv/version)
      hhvm
      hhvm-stable
      composer --version
      Composer version 1.8.4 2019-02-11 10:52:10
      Pre-installed Ruby versions
      ruby-2.3.8
      ruby-2.4.5
      ruby-2.5.3
      travis_fold:end:system_info
      
      travis_time:end:1ecf0d73:start=1617710281186425795,finish=1617710281191703956,duration=5278161,event=show_system_info
      travis_time:start:0c3432d8
      travis_time:end:0c3432d8:start=1617710281194230517,finish=1617710281205894718,duration=11664201,event=rm_riak_source
      travis_time:start:1022b38d
      travis_time:end:1022b38d:start=1617710281217518192,finish=1617710281234813931,duration=17295739,event=fix_rwky_redis
      travis_time:start:00e95f20
      travis_time:end:00e95f20:start=1617710281241092498,finish=1617710281923508871,duration=682416373,event=wait_for_network
      travis_time:start:110dc1ad
      travis_time:end:110dc1ad:start=1617710281929444430,finish=1617710282163180006,duration=233735576,event=update_apt_keys
      travis_time:start:10967e90
      travis_time:end:10967e90:start=1617710282167400608,finish=1617710282220856131,duration=53455523,event=fix_hhvm_source
      travis_time:start:04663298
      travis_time:end:04663298:start=1617710282224839364,finish=1617710282227791584,duration=2952220,event=update_mongo_arch
      travis_time:start:2738421a
      travis_time:end:2738421a:start=1617710282232531573,finish=1617710282274939493,duration=42407920,event=fix_sudo_enabled_trusty
      travis_time:start:1f113ef1
      travis_time:end:1f113ef1:start=1617710282279423099,finish=1617710282282053577,duration=2630478,event=update_glibc
      travis_time:start:01158e7d
      travis_time:end:01158e7d:start=1617710282286952653,finish=1617710282295986206,duration=9033553,event=clean_up_path
      travis_time:start:18113940
      travis_time:end:18113940:start=1617710282301792699,finish=1617710282310668589,duration=8875890,event=fix_resolv_conf
      travis_time:start:074fde8b
      travis_time:end:074fde8b:start=1617710282317489895,finish=1617710282329032318,duration=11542423,event=fix_etc_hosts
      travis_time:start:06003b20
      travis_time:end:06003b20:start=1617710282333980228,finish=1617710282344912714,duration=10932486,event=fix_mvn_settings_xml
      travis_time:start:04377a42
      travis_time:end:04377a42:start=1617710282350794523,finish=1617710282362329955,duration=11535432,event=no_ipv6_localhost
      travis_time:start:107f9670
      travis_time:end:107f9670:start=1617710282368231044,finish=1617710282371785442,duration=3554398,event=fix_etc_mavenrc
      travis_time:start:0492a09b
      travis_time:end:0492a09b:start=1617710282377107180,finish=1617710282380866467,duration=3759287,event=fix_wwdr_certificate
      travis_time:start:09214040
      travis_time:end:09214040:start=1617710282384652034,finish=1617710282410695159,duration=26043125,event=put_localhost_first
      travis_time:start:1e531d50
      travis_time:end:1e531d50:start=1617710282414437909,finish=1617710282417996318,duration=3558409,event=home_paths
      travis_time:start:0e5d90e8
      travis_time:end:0e5d90e8:start=1617710282421848908,finish=1617710282434710739,duration=12861831,event=disable_initramfs
      travis_time:start:053094a8
      travis_time:end:053094a8:start=1617710282438556776,finish=1617710282830861337,duration=392304561,event=disable_ssh_roaming
      travis_time:start:136c6158
      travis_time:end:136c6158:start=1617710282835448833,finish=1617710282837850753,duration=2401920,event=debug_tools
      travis_time:start:0068a768
      travis_time:end:0068a768:start=1617710282842344444,finish=1617710282845812988,duration=3468544,event=uninstall_oclint
      travis_time:start:1a7ffe12
      travis_time:end:1a7ffe12:start=1617710282850101021,finish=1617710282853059277,duration=2958256,event=rvm_use
      travis_time:start:0a318d31
      travis_time:end:0a318d31:start=1617710282859366907,finish=1617710282867980129,duration=8613222,event=rm_etc_boto_cfg
      travis_time:start:0c43b79b
      travis_time:end:0c43b79b:start=1617710282871878442,finish=1617710282876227239,duration=4348797,event=rm_oraclejdk8_symlink
      travis_time:start:2856c0ed
      travis_time:end:2856c0ed:start=1617710282881925518,finish=1617710282982550974,duration=100625456,event=enable_i386
      travis_time:start:05db3ce6
      travis_time:end:05db3ce6:start=1617710282986932136,finish=1617710282992489673,duration=5557537,event=update_rubygems
      travis_time:start:0024500c
      travis_time:end:0024500c:start=1617710282997198288,finish=1617710283807994228,duration=810795940,event=ensure_path_components
      travis_time:start:019ad4b8
      travis_time:end:019ad4b8:start=1617710283812137854,finish=1617710283814928635,duration=2790781,event=redefine_curl
      travis_time:start:1528968d
      travis_time:end:1528968d:start=1617710283820464921,finish=1617710283919009049,duration=98544128,event=nonblock_pipe
      travis_time:start:0930d69e
      travis_time:end:0930d69e:start=1617710283922847483,finish=1617710289952236561,duration=6029389078,event=apt_get_update
      travis_time:start:110f6412
      travis_time:end:110f6412:start=1617710289956456895,finish=1617710289959091673,duration=2634778,event=deprecate_xcode_64
      travis_time:start:02138baa
      travis_time:end:02138baa:start=1617710289963868539,finish=1617710292720823745,duration=2756955206,event=update_heroku
      travis_time:start:0cc90e10
      travis_time:end:0cc90e10:start=1617710292725276007,finish=1617710292727864419,duration=2588412,event=shell_session_update
      travis_time:start:1723302f
      travis_fold:start:docker_mtu_and_registry_mirrors
      travis_fold:end:docker_mtu_and_registry_mirrors
      travis_time:end:1723302f:start=1617710292732562421,finish=1617710295309356682,duration=2576794261,event=set_docker_mtu_and_registry_mirrors
      travis_time:start:11006820
      travis_fold:start:resolvconf
      travis_fold:end:resolvconf
      travis_time:end:11006820:start=1617710295313382683,finish=1617710295389642279,duration=76259596,event=resolvconf
      travis_time:start:122bd746
      travis_time:end:122bd746:start=1617710295396498754,finish=1617710295558940486,duration=162441732,event=maven_central_mirror
      travis_time:start:0f295fa5
      travis_time:end:0f295fa5:start=1617710295563568281,finish=1617710295658042861,duration=94474580,event=maven_https
      travis_time:start:0312f198
      travis_time:end:0312f198:start=1617710295663353861,finish=1617710295666011163,duration=2657302,event=fix_ps4
      travis_time:start:05f70cb4
      
      travis_fold:start:git.checkout
      travis_time:start:17a1b04e
      $ git clone --depth=50 --branch=master https://github.com/SuiteLHY/SuiteLHY.github.io.git SuiteLHY/SuiteLHY.github.io
      Cloning into 'SuiteLHY/SuiteLHY.github.io'...
      travis_time:end:17a1b04e:start=1617710295674097532,finish=1617710296329264757,duration=655167225,event=checkout
      $ cd SuiteLHY/SuiteLHY.github.io
      $ git checkout -qf 0ddf22b1cdb5a19d216e76649bbf5211a3e5f3d6
      travis_fold:end:git.checkout
      
      travis_fold:start:git.submodule
      travis_time:start:06340ea8
      $ git submodule update --init --recursive
      Submodule 'themes/Kratos-Rebirth' (https://github.com/SuiteLHY/Kratos-Rebirth) registered for path 'themes/Kratos-Rebirth'
      Cloning into '/home/travis/build/SuiteLHY/SuiteLHY.github.io/themes/Kratos-Rebirth'...
      Submodule path 'themes/Kratos-Rebirth': checked out 'f9c90ae7ed635024e785f4a34b6d80e7e7a7bb08'
      travis_time:end:06340ea8:start=1617710296341465664,finish=1617710297538107398,duration=1196641734,event=checkout
      travis_fold:end:git.submodule
      travis_time:end:06340ea8:start=1617710296341465664,finish=1617710297541158373,duration=1199692709,event=checkout
      travis_time:start:2c1fbca3
      
      Setting environment variables from repository settings
      $ export GH_TOKEN=[secure]

      travis_time:end:2c1fbca3:start=1617710297545498640,finish=1617710297556567643,duration=11069003,event=env
      travis_fold:start:nvm.install
      travis_time:start:15ab485c
      $ nvm install 10
      Downloading and installing node v10.24.0...
      Downloading https://nodejs.org/dist/v10.24.0/node-v10.24.0-linux-x64.tar.xz...
      Computing checksum with sha256sum
      Checksums matched!
      Now using node v10.24.0 (npm v6.14.11)
      travis_time:end:15ab485c:start=1617710298423894759,finish=1617710301094021425,duration=2670126666,event=setup
      travis_fold:end:nvm.install
      
      travis_fold:start:cache.1
      Setting up build cache
      $ export CASHER_DIR=${TRAVIS_HOME}/.casher
      travis_time:start:06318892
      $ Installing caching utilities
      travis_time:end:06318892:start=1617710302236650159,finish=1617710302499532184,duration=262882025,event=setup_casher
      travis_time:start:00373a2e
      travis_time:end:00373a2e:start=1617710302506540626,finish=1617710302510283664,duration=3743038,event=setup_casher
      travis_time:start:0649bbf4
      attempting to download cache archive
      fetching master/cache--linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--node-10.tgz
      found cache
      travis_time:end:0649bbf4:start=1617710302514526146,finish=1617710303976735176,duration=1462209030,event=setup_casher
      travis_fold:end:cache.1
      
      travis_fold:start:cache.npm
      
      travis_time:start:01392087
      travis_time:end:01392087:start=1617710304166048666,finish=1617710304169295897,duration=3247231,event=setup_cache
      travis_time:start:2773dcba
      adding /home/travis/.npm to cache
      travis_time:end:2773dcba:start=1617710304174955441,finish=1617710305782382148,duration=1607426707,event=setup_cache
      travis_fold:end:cache.npm
      $ node --version
      v10.24.0
      $ npm --version
      6.14.11
      $ nvm --version
      0.37.2

      travis_fold:start:before_install
      travis_time:start:0407f8a1
      $ git submodule init && git submodule update
      travis_time:end:0407f8a1:start=1617710306474611374,finish=1617710306521760419,duration=47149045,event=before_install
      travis_fold:end:before_install
      travis_fold:start:install.npm
      travis_time:start:197bd51d
      $ npm ci

      > ejs@2.7.4 postinstall /home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/ejs
      > node ./postinstall.js

      added 197 packages in 1.614s
      travis_time:end:197bd51d:start=1617710306705477286,finish=1617710308729335852,duration=2023858566,event=install
      travis_fold:end:install.npm
      
      travis_time:start:331ba8db
      $ hexo clean
      INFO Validating config
      travis_time:end:331ba8db:start=1617710308733490906,finish=1617710309338977986,duration=605487080,event=script
      The command "hexo clean" exited with 0.
      travis_time:start:0d401613
      $ hexo generate
      INFO Validating config
      INFO Start processing
      Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.
      Deprecated as of 10.7.0. Please use highlight(code, options) instead.
      https://github.com/highlightjs/highlight.js/issues/2277
      Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.
      Deprecated as of 10.7.0. Please use highlight(code, options) instead.
      https://github.com/highlightjs/highlight.js/issues/2277
      Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.
      Deprecated as of 10.7.0. Please use highlight(code, options) instead.
      https://github.com/highlightjs/highlight.js/issues/2277
      Deprecated as of 10.7.0. highlight(lang, code, ...args) has been deprecated.
      Deprecated as of 10.7.0. Please use highlight(code, options) instead.
      https://github.com/highlightjs/highlight.js/issues/2277
      FATAL { err:
      TypeError: Cannot read property 'main' of undefined
      at Hexo.<anonymous> (/home/travis/build/SuiteLHY/SuiteLHY.github.io/themes/Kratos-Rebirth/scripts/genconfig.js:6:61)
      at Hexo.tryCatcher (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/util.js:16:23)
      at Hexo.<anonymous> (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/method.js:15:34)
      at Promise.map.key (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/hexo/lib/hexo/index.js:405:22)
      at tryCatcher (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/util.js:16:23)
      at MappingPromiseArray._promiseFulfilled (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/map.js:68:38)
      at MappingPromiseArray.PromiseArray._iterate (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/promise_array.js:115:31)
      at MappingPromiseArray.init (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/promise_array.js:79:10)
      at MappingPromiseArray._asyncInit (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/map.js:37:10)
      at _drainQueueStep (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/async.js:97:12)
      at _drainQueue (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/async.js:86:9)
      at Async._drainQueues (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/async.js:102:5)
      at Immediate.Async.drainQueues [as _onImmediate] (/home/travis/build/SuiteLHY/SuiteLHY.github.io/node_modules/bluebird/js/release/async.js:15:14)
      at runCallback (timers.js:705:18)
      at tryOnImmediate (timers.js:676:5)
      at processImmediate (timers.js:658:5) } 'Something\'s wrong. Maybe you can find the solution here: %s' 'https://hexo.io/docs/troubleshooting.html'
      travis_time:end:0d401613:start=1617710309344746249,finish=1617710310183149105,duration=838402856,event=script
      The command "hexo generate" exited with 2.
      travis_fold:start:cache.2
      store build cache
      travis_time:start:17a0725a
      travis_time:end:17a0725a:start=1617710310190970550,finish=1617710310194166728,duration=3196178,event=cache
      travis_time:start:03e339bc
      nothing changed
      travis_time:end:03e339bc:start=1617710310198156711,finish=1617710311173343922,duration=975187211,event=cache
      travis_fold:end:cache.2
      

      Done. Your build exited with 1.

记录

1. 从零开始到发布本地服务📔

站点主题的相关记录

将站点主题的图片文件 统一调整为 WebP 格式 👆
  • 图片文件路径,相对于主题根目录:themes\Kratos-Rebirth\source\images\及其子文件

  • 目的:

    • 统一文件格式,便于管理;(次要)
    • 节省存储空间√紧跟潮流🎵。(主要)
  • 使用工具 —— ezgif.com

    • 截图:

      JPG&thinsp;格式&thinsp;转换为&thinsp;WebP&thinsp;格式&thinsp;以后,甚至可以节省&thinsp;90%以上的存储空间。


📖参看

主要参看📖(站内资源)
分类:工具🧰 | 查阅🔍

※参考和引用

  1. 维基百科,自由的百科全书

🔗外部链接