From 37bcacdecb5af051db12cdda413d17ee2c8d15be Mon Sep 17 00:00:00 2001 From: Scott Hatlen Date: Fri, 2 Jun 2023 21:44:53 -0700 Subject: [PATCH] adding a step to ensure new code is pulled --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 3ffd126..0a4d221 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM alpine:latest as build_stage WORKDIR /opt RUN apk add git hugo +# Adding this so the repo isn't cached +ADD https://api.github.com/repos/scottyah/scottyah-blog/git/refs/heads/main version.json RUN git clone https://github.com/scottyah/scottyah-blog.git WORKDIR /opt/scottyah-blog/hugo-content RUN hugo