首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >coding部署Hugo静态网站网站博客,代码更新,构建里面的代码也是更新的,但页面没有更新?

coding部署Hugo静态网站网站博客,代码更新,构建里面的代码也是更新的,但页面没有更新?

提问于 2021-08-30 10:26:03
回答 1关注 0查看 380

1.hugo搭建的博客,已差不多正常运行两个月,前两天更新一篇文章后,等了几个小时都没部署到网页。之前并未改动过代码(包括_config.yml)。

2.bash里反馈的信息显示一切正常。(hugo 和 git push 之后都没有报error,并且最后到serverless的主机deploy done)

3.验证本地服务器(hego server)查看一切正常,本地可看到更新后的文章。远程不可以, 验证过部署的日志正常;

基本可以确定是coding的锅,但没有解决方案;

日志如下:

[2021-08-30 10:08:44] Started by user coding
[2021-08-30 10:08:44] Running in Durability level: MAX_SURVIVABILITY
[2021-08-30 10:08:47] [Pipeline] Start of Pipeline
[2021-08-30 10:08:47] [Pipeline] node
[2021-08-30 10:08:47] Running on Jenkins in /root/workspace
[2021-08-30 10:08:47] [Pipeline] {
[2021-08-30 10:08:47] [Pipeline] stage
[2021-08-30 10:08:47] [Pipeline] { (Downloading code)
[2021-08-30 10:08:48] [Pipeline] checkout
[2021-08-30 10:08:48] using credential 588642a5-6ae5-4d47-9303-a327390efb26
[2021-08-30 10:08:48] Cloning the remote Git repository
[2021-08-30 10:08:48] Cloning repository git@e.coding.net:bomir/blog.git
[2021-08-30 10:08:48]  > git init /root/workspace # timeout=10
[2021-08-30 10:08:48] Fetching upstream changes from git@e.coding.net:bomir/blog.git
[2021-08-30 10:08:48]  > git --version # timeout=10
[2021-08-30 10:08:48] using GIT_SSH to set credentials 
[2021-08-30 10:08:48]  > git fetch --tags --force --progress -- git@e.coding.net:bomir/blog.git +refs/heads/*:refs/remotes/origin/*
[2021-08-30 10:08:52]  > git config remote.origin.url git@e.coding.net:bomir/blog.git # timeout=10
[2021-08-30 10:08:52]  > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
[2021-08-30 10:08:52]  > git config remote.origin.url git@e.coding.net:bomir/blog.git # timeout=10
[2021-08-30 10:08:52] Fetching upstream changes from git@e.coding.net:bomir/blog.git
[2021-08-30 10:08:52] using GIT_SSH to set credentials 
[2021-08-30 10:08:52]  > git fetch --tags --force --progress -- git@e.coding.net:bomir/blog.git +refs/heads/*:refs/remotes/origin/* +refs/merge/*:refs/remotes/origin/merge/*
[2021-08-30 10:08:52]  > git rev-parse 5e4dd67a3bc69eb3b192d4970f1312590fca6489^{commit} # timeout=10
[2021-08-30 10:08:52] Checking out Revision 5e4dd67a3bc69eb3b192d4970f1312590fca6489 (detached)
[2021-08-30 10:08:52]  > git config core.sparsecheckout # timeout=10
[2021-08-30 10:08:52]  > git checkout -f 5e4dd67a3bc69eb3b192d4970f1312590fca6489
[2021-08-30 10:08:53] Commit message: "add a copy to test"
[2021-08-30 10:08:53] First time build. Skipping changelog.
[2021-08-30 10:08:53] [Pipeline] }
[2021-08-30 10:08:53] [Pipeline] // stage
[2021-08-30 10:08:53] [Pipeline] stage
[2021-08-30 10:08:53] [Pipeline] { (Build environment)
[2021-08-30 10:08:53] [Pipeline] webSite
[2021-08-30 10:08:53] Running Coding Pages With Tencent SLS websites plugins, VERSION: 0.28_20201224.1
[2021-08-30 10:08:53] Init Params...
[2021-08-30 10:08:53] [Pipeline] }
[2021-08-30 10:08:53] [Pipeline] // stage
[2021-08-30 10:08:53] [Pipeline] stage
[2021-08-30 10:08:53] [Pipeline] { (Deploying serverless project)
[2021-08-30 10:08:53] [Pipeline] sh
[2021-08-30 10:08:53] + serverless deploy --debug
[2021-08-30 10:08:56] 正在初始化...
[2021-08-30 10:08:56] Action: "deploy" - Stage: "dev" - App: "blog" - Name: "serverless-page-oxhuc6td-1254266754"
[2021-08-30 10:08:57] 准备中...
[2021-08-30 10:09:05] 上传中...
[2021-08-30 10:09:05] 部署中...
[2021-08-30 10:09:08] Deploying Tencent Website
[2021-08-30 10:09:08] Packaging Website application...
[2021-08-30 10:09:08] Files unzipped into /tmp/nwh9a6
[2021-08-30 10:09:08] Creating bucket serverless-page-bucket-oxhuc6td-1254266754
[2021-08-30 10:09:08] Bucket serverless-page-bucket-oxhuc6td-1254266754 already exist.
[2021-08-30 10:09:08] Setting acl for bucket serverless-page-bucket-oxhuc6td-1254266754
[2021-08-30 10:09:08] Setting Website for bucket serverless-page-bucket-oxhuc6td-1254266754
[2021-08-30 10:09:08] Start to clear all files in bucket serverless-page-bucket-oxhuc6td-1254266754
[2021-08-30 10:09:09] Clear all files in bucket serverless-page-bucket-oxhuc6td-1254266754 success
[2021-08-30 10:09:09] Uploading files to bucket serverless-page-bucket-oxhuc6td-1254266754
[2021-08-30 10:09:15] Deployed Tencent Website success
[2021-08-30 10:09:16] region:  ap-guangzhou
[2021-08-30 10:09:16] website: https://serverless-page-bucket-oxhuc6td-1254266754.cos-website.ap-guangzhou.myqcloud.com
[2021-08-30 10:09:16] 应用控制台: https://serverless.cloud.tencent.com/apps/blog/serverless-page-oxhuc6td-1254266754/dev
[2021-08-30 10:09:16] 20s › serverless-page-oxhuc6td-1254266754 › 执行成功
[2021-08-30 10:09:16] 
[2021-08-30 10:09:18] 
[2021-08-30 10:09:18] [Pipeline] }
[2021-08-30 10:09:18] [Pipeline] // stage
[2021-08-30 10:09:18] [Pipeline] }
[2021-08-30 10:09:18] [Pipeline] // node
[2021-08-30 10:09:18] [Pipeline] End of Pipeline

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档