Skip to content

Upgrading to Hugo 0.81.0#123

Merged
nate-double-u merged 1 commit intoetcd-io:masterfrom
nate-double-u:113-update-hugo-version
Mar 19, 2021
Merged

Upgrading to Hugo 0.81.0#123
nate-double-u merged 1 commit intoetcd-io:masterfrom
nate-double-u:113-update-hugo-version

Conversation

@nate-double-u
Copy link
Copy Markdown
Contributor

Updating netlify.toml, Makefile, and .gitignore.

  • netlify.toml updated to use latest Hugo version
  • Makefile updated to use latest extended version of Hugo, matching the docsy-example site (using -asciidoctor)
  • .gitignore to ignore .netlify folder -- created when testing netlify locally.

Fixes: #113

/cc @chalin @spzala

Updating netlify.toml, Makefile, and .gitignore.

netlify.toml updated to use latest Hugo version

Makefile updated to use latest extended version of Hugo, matching the docsy-example site (using -asciidoctor)

 .gitignore to ignore .netlify folder -- created when testing netlify locally.

Fixes: etcd-io#113
Signed-off-by: Nate W <4453979+nate-double-u@users.noreply.github.com>
@nate-double-u nate-double-u added the infrastructure Categorizes issue or PR as related to site infrastructure. label Mar 18, 2021
@nate-double-u
Copy link
Copy Markdown
Contributor Author

nate-double-u commented Mar 18, 2021

@nate-double-u
Copy link
Copy Markdown
Contributor Author

From the build log:

11:46:16 PM: Installing Hugo 0.81.0
11:46:18 PM: hugo v0.81.0-59D15C97+extended linux/amd64 BuildDate=2021-02-19T17:07:12Z VendorInfo=gohugoio

tmp/

# Local Netlify folder
.netlify
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you actually get a .netlify folder created locally?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, when you use the netlify-cli, and link it to a site, it generates this folder.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I've been using netlify-cli but it hasn't created such a folder. As you say, probably because you're linking to a site.
(Topic for another day: why would you need to link to a site?)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it gives you the ability to do manual uploads, as well as get some additional debugging info

@nate-double-u nate-double-u merged commit 1936362 into etcd-io:master Mar 19, 2021
@nate-double-u nate-double-u deleted the 113-update-hugo-version branch March 19, 2021 00:55
NotAwar pushed a commit to NotAwar/website that referenced this pull request Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Categorizes issue or PR as related to site infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use latest version of Hugo to build the site

3 participants