current position：Home>Building a blog with GitHub pages + hexo (7) how to delete a published article successfully solved: delete it at the same time deploy_ Git folder
Building a blog with GitHub pages + hexo (7) how to delete a published article successfully solved: delete it at the same time deploy_ Git folder
2022-04-29 04:21:08【Xia ordinary】
【 Roof placement 】【 special column 】 use Github Pages+Hexo Build a blog
List of articles
I deleted the folder
source/_posts After the article you want to delete , perform
hexo g Found that the article is still in the web page , Delete failed .
1、 Delete folder
source/_posts Next target article markdown file
hexo clean after , Re execution
hexo g that will do .
- First step , Go to the folder
source/_postsDelete the article you want to delete
- The second step , Delete
.deploy_gityes git Files for deployment . When you are git Deployment options run
hexo dOn command ,Hexo It creates a name
.deploy_gitFolder , And copy the generated files to this folder .
- The third step , perform
hexo cleanafter , Re execution
hexo gthat will do .
Found that the article was deleted successfully
Because it's executing locally
hexo g after , A will be generated in the root directory of the blog
public Folder , The files in this folder are combined to form a complete static blog .
Then if you execute
hexo d, It will
public The contents of the folder are completely copied to
.deploy_git Folder , And push all the files in the folder push To the remote library .
It will trigger Pages Service hook to build project , Then deploy to the website .
markdown The article is in the previous
hexo g after , Copy the generated static file to
.deploy_git file , but
hexo clean Failed to delete ·.deploy_git· Inside markdown Static files for , So every time you deploy , It will come out .
.deploy_git Folder is ok .
author[Xia ordinary],Please bring the original link to reprint, thank you.
The sidebar is recommended
- How to realize the function of jQuery small ticket printing
- HTTP protocol
- I've taught myself Python for half a month. I feel it's useless. What should I do?
- Is it a blessing or a curse that the biggest customer of Ningde era changes ownership of Tesla?
- Element UI realizes the function of table radio selection
- Elementui realizes the function of table radio selection
guess what you like
Apache shardingsphere code formatting practice -- spotless
Vue console error information collection and reporting
Initialize the react project environment under mac
React dynamically adds elements to the list
React realizes form data collection
Vernacular react life cycle
vue2. How to register and login with 0 + koa2 + mongodb
vue. JS how to realize single page application
How to realize login registration and token verification in Vue
- How to set the background color for individual pages in Vue cli
- How does Vue router cooperate with elementui to realize navigation
- Vue2 how to load more data on the scroll bar
- How to use margin and padding in CSS
- How does vue2x implement the vueslidershow function of the responsive adaptive rotation component plug-in
- How does vue2 recursive component implement tree menu
- How to use the three selectors of CSS
- Same blog, different styles -- hexo alternative construction
- Optimize nginx HTTPS latency - see how I can speed up nginx by 30%?
- The development model in the era of consumer Internet only transfers industrial elements from offline to online
- Advanced features of Vue
- CSS shadow advanced, to achieve a more three-dimensional shadow effect!
- Differences between nginx forward and reverse proxy
- Front end schema form configuration generation scheme
- Units that can be used by the rotate method of transform in CSS
- Why CSS3 sticky doesn't work?
- [bug resolution] webpack error: module not found Did you mean xxx
- [bug resolution] can't perform a react state update on an unmounted component This is ＞ a no-op, but it...
- Remember to speed up the construction of a webpack
- Browser review hover element
- Vue insert iframe
- Vue realizes downloading pictures
- Some common problem-solving methods in Vue (sort out some truly effective methods that can be used in the project) (wait for continuous update and accumulation)
- About database data response to HTML page, Chinese appears? Solution to garbled code (multiple question marks)
- Ask a question about CSS selector
- When Vue jumps the route, the timer cannot be cleared in time
- Document is not defined
- Vue quill editor stepping on pit record -- the echo style of rich text content is wrong
- The multi selection box of table in element is combined with paging to echo the bug step hole
- Vue project optimizes the loading speed of the first screen
- Use / deep / to report an error CSS (CSS selected expected)
- Nginx configuration
- Vue cli reverse proxy
- Vuex persistedstate plug-in - vuex persistent storage
- Understanding and summary of CSS
- vue2. Implementation of X data response
- Props in react