Skip to content

Commit

Permalink
test: when draft:true, excute hugo, then push, watch the `github …
Browse files Browse the repository at this point in the history
…action` workflow
  • Loading branch information
zhaoyang committed Aug 24, 2023
1 parent 49e3028 commit e452940
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 69 deletions.
2 changes: 1 addition & 1 deletion content/posts/my-first-post.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "My First Post"
date: 2023-08-24T09:11:47+08:00
# draft: true
draft: true
# bookComments: false
# bookSearchExclude: false
---
Expand Down
47 changes: 0 additions & 47 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,53 +94,6 @@ <h1 class="f2 f-subheadline-l fw2 light-silver mb0 lh-title">






<div class="pa3 pa4-ns w-100 w-70-ns center">


<h1 class="flex-none">
Recent Posts
</h1>




<section class="w-100 mw8">


<div class="relative w-100 mb4">

<article class="bb b--black-10">
<div class="db pv4 ph3 ph0-l no-underline dark-gray">
<div class="flex flex-column flex-row-ns">

<div class="blah w-100">
<h1 class="f3 fw1 athelas mt0 lh-title">
<a href="/posts/my-first-post/" class="color-inherit dim link">
My First Post
</a>
</h1>
<div class="f6 f5-l lh-copy nested-copy-line-height nested-links">
hello world
come here
</div>
<a href="/posts/my-first-post/" class="ba b--moon-gray bg-light-gray br2 color-inherit dib f7 hover-bg-moon-gray link mt2 ph2 pv1">read more</a>

</div>
</div>
</div>
</article>

</div>

</section>



</div>


</main>
<footer class="bg-black bottom-0 w-100 pa3" role="contentinfo">
Expand Down
13 changes: 1 addition & 12 deletions public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@
<link>https://zyestin.github.io/</link>
<description>Recent content on zyestin</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Thu, 24 Aug 2023 09:11:47 +0800</lastBuildDate><atom:link href="https://zyestin.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>My First Post</title>
<link>https://zyestin.github.io/posts/my-first-post/</link>
<pubDate>Thu, 24 Aug 2023 09:11:47 +0800</pubDate>

<guid>https://zyestin.github.io/posts/my-first-post/</guid>
<description>hello world
come here</description>
</item>

<language>en-us</language><atom:link href="https://zyestin.github.io/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
11 changes: 2 additions & 9 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,10 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://zyestin.github.io/posts/my-first-post/</loc>
<lastmod>2023-08-24T09:11:47+08:00</lastmod>
</url><url>
<loc>https://zyestin.github.io/posts/</loc>
<lastmod>2023-08-24T09:11:47+08:00</lastmod>
</url><url>
<loc>https://zyestin.github.io/</loc>
<lastmod>2023-08-24T09:11:47+08:00</lastmod>
</url><url>
<loc>https://zyestin.github.io/categories/</loc>
</url><url>
<loc>https://zyestin.github.io/tags/</loc>
</url><url>
<loc>https://zyestin.github.io/</loc>
</url>
</urlset>

0 comments on commit e452940

Please sign in to comment.