Skip to content

Commit

Permalink
Merge pull request #50 from readchina/fix-submodule-deployment
Browse files Browse the repository at this point in the history
Fix submodule deployment
  • Loading branch information
duncdrum authored Nov 17, 2023
2 parents e1223c5 + 6dbcfac commit 00b969e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
Expand All @@ -24,16 +24,16 @@ jobs:
extended: true

- name: Set up Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 16

- name: Install tools
run: |
sudo apt install curl jq
npm i -g postcss postcss-cli autoprefixer
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /tmp/hugo_cache
key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}
Expand Down
2 changes: 1 addition & 1 deletion themes/hugo-book
Submodule hugo-book updated 63 files
+12 −2 .github/workflows/main.yml
+1 −0 .gitignore
+44 −13 README.md
+2 −11 assets/_main.scss
+6 −0 assets/_markdown.scss
+3 −0 assets/clipboard.js
+3 −1 assets/search-data.json
+4 −0 assets/search.js
+8 −4 exampleSite/config.toml
+8 −4 exampleSite/config.yaml
+0 −0 exampleSite/content.en/_index.md
+0 −0 exampleSite/content.en/docs/example/_index.md
+0 −0 exampleSite/content.en/docs/example/collapsed/3rd-level/4th-level.md
+0 −0 exampleSite/content.en/docs/example/collapsed/3rd-level/_index.md
+0 −0 exampleSite/content.en/docs/example/collapsed/_index.md
+0 −0 exampleSite/content.en/docs/example/hidden.md
+0 −0 exampleSite/content.en/docs/example/table-of-contents/_index.md
+0 −0 exampleSite/content.en/docs/example/table-of-contents/with-toc.md
+0 −0 exampleSite/content.en/docs/example/table-of-contents/without-toc.md
+0 −0 exampleSite/content.en/docs/shortcodes/_index.md
+0 −0 exampleSite/content.en/docs/shortcodes/buttons.md
+0 −0 exampleSite/content.en/docs/shortcodes/columns.md
+0 −0 exampleSite/content.en/docs/shortcodes/details.md
+0 −0 exampleSite/content.en/docs/shortcodes/expand.md
+0 −0 exampleSite/content.en/docs/shortcodes/hints.md
+2 −2 exampleSite/content.en/docs/shortcodes/katex.md
+2 −2 exampleSite/content.en/docs/shortcodes/mermaid.md
+15 −0 exampleSite/content.en/docs/shortcodes/section/_index.md
+0 −0 exampleSite/content.en/docs/shortcodes/section/first-page.md
+0 −0 exampleSite/content.en/docs/shortcodes/section/second-page.md
+0 −0 exampleSite/content.en/docs/shortcodes/tabs.md
+1 −1 exampleSite/content.en/menu/index.md
+0 −0 exampleSite/content.en/posts/_index.md
+0 −0 exampleSite/content.en/posts/creating-a-new-theme.md
+0 −0 exampleSite/content.en/posts/goisforlovers.md
+0 −0 exampleSite/content.en/posts/hugoisforlovers.md
+0 −0 exampleSite/content.en/posts/migrate-from-jekyll.md
+0 −15 exampleSite/content/docs/shortcodes/section/_index.md
+0 −1 exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.content
+0 −1 exampleSite/resources/_gen/assets/scss/book.scss_50fc8c04e12a2f59027287995557ceff.json
+1 −0 exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.content
+1 −0 exampleSite/resources/_gen/assets/scss/book.scss_e129fe35b8d0a70789c8a08429469073.json
+3 −0 go.mod
+14 −0 i18n/am.yaml
+1 −1 i18n/es.yaml
+0 −1 layouts/404.html
+2 −2 layouts/_default/baseof.html
+14 −12 layouts/partials/docs/footer.html
+1 −0 layouts/partials/docs/html-head-title.html
+11 −5 layouts/partials/docs/html-head.html
+7 −3 layouts/partials/docs/menu-filetree.html
+1 −1 layouts/partials/docs/menu-hugo.html
+0 −14 layouts/partials/docs/prev-next-cache.html
+0 −27 layouts/partials/docs/prev-next.html
+3 −1 layouts/partials/docs/title.html
+1 −1 layouts/shortcodes/button.html
+3 −2 layouts/shortcodes/details.html
+1 −1 layouts/shortcodes/hint.html
+2 −0 layouts/shortcodes/section.html
+1 −1 layouts/shortcodes/tabs.html
+1,260 −12 static/mermaid.min.js
+0 −1 static/svg/backward.svg
+0 −1 static/svg/forward.svg

0 comments on commit 00b969e

Please sign in to comment.