Skip to content

Commit

Permalink
fix(blog): include future-dated content when generating blog (#2682)
Browse files Browse the repository at this point in the history
Invoke hugo with the `--buildFuture` flag

Also fix year typo in blog post for data quality
  • Loading branch information
andrewpollock authored Oct 1, 2024
1 parent 165b2fe commit 1adae75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ lint:

run-appengine:
cd gcp/appengine/frontend3 && npm install && npm run build
cd gcp/appengine/blog && hugo -d ../dist/static/blog
cd gcp/appengine/blog && hugo --buildFuture -d ../dist/static/blog
cd gcp/appengine && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb $(run-cmd) python main.py

run-appengine-staging:
cd gcp/appengine/frontend3 && npm install && npm run build
cd gcp/appengine/blog && hugo -d ../dist/static/blog
cd gcp/appengine/blog && hugo --buildFuture -d ../dist/static/blog
cd gcp/appengine && $(install-cmd) && GOOGLE_CLOUD_PROJECT=oss-vdb-test $(run-cmd) python main.py

run-api-server:
Expand Down
2 changes: 1 addition & 1 deletion gcp/appengine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM gcr.io/oss-vdb/ci AS HUGO_BUILD
WORKDIR /build/blog
COPY gcp/appengine/blog ./

RUN hugo -d ../dist/static/blog
RUN hugo --buildFuture -d ../dist/static/blog

# OSV.dev site image
# Adapted from https://cloud.google.com/run/docs/quickstarts/build-and-deploy/deploy-python-service#writing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "OSV's approach to data quality"
date: 2023-09-30T09:00:00Z
date: 2024-09-30T09:00:00Z
draft: false
author: Andrew Pollock and Charl de Nysschen
---
Expand Down

0 comments on commit 1adae75

Please sign in to comment.