From fd196912fa62fecea674fa93f78b738a9d43eade Mon Sep 17 00:00:00 2001 From: awshuss Date: Wed, 22 Nov 2023 09:42:52 +0000 Subject: [PATCH] Updated static build action --- .github/actions/build-static/action.yaml | 2 +- dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/build-static/action.yaml b/.github/actions/build-static/action.yaml index f0ba79e8b..429392172 100644 --- a/.github/actions/build-static/action.yaml +++ b/.github/actions/build-static/action.yaml @@ -47,7 +47,7 @@ runs: - name: Build olcs static run: | - tar -cvzf static.tar.gz -C public + tar cvzf static.tar.gz -C public shell: bash - name: upload staic artifact diff --git a/dockerfile b/dockerfile index 47ff568fd..844ad6d8e 100644 --- a/dockerfile +++ b/dockerfile @@ -22,7 +22,7 @@ COPY php-fpm/php-fpm.d/www.conf /usr/local/etc/php-fpm.d/www.conf # FROM registry.olcs.dev-dvsacloud.uk/k8s/php:7.4.22-fpm-alpine as intermediate -RUN mkdir -p /opt/dvsa/olcs-frontend /var/log/dvsa /tmp/Entity/Proxy && \ +RUN mkdir -p /opt/dvsa/olcs-frontend/public/static /var/log/dvsa /tmp/Entity/Proxy && \ touch /var/log/dvsa/frontend.log ADD selfserve.tar.gz /opt/dvsa/olcs-frontend