adding a step to ensure new code is pulled

This commit is contained in:
2023-06-02 21:44:53 -07:00
parent b68d14e5e5
commit 37bcacdecb

View File

@@ -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