fixing github action
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@ FROM ghcr.io/hugomods/hugo:0.128.2 AS build
|
|||||||
ARG GH_ACCESS_TOKEN
|
ARG GH_ACCESS_TOKEN
|
||||||
WORKDIR /tmp/hugo
|
WORKDIR /tmp/hugo
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apk add --no-cache make && git config --global url.https://${GH_ACCESS_TOKEN}@github.com/.insteadOf https://github.com/ && make build
|
RUN ls
|
||||||
|
RUN hugo --gc --minify
|
||||||
|
|
||||||
FROM nginx:alpine-slim
|
FROM nginx:alpine-slim
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|||||||
Reference in New Issue
Block a user