fix: action to use new dir
All checks were successful
Build Docker / Build Docker (push) Successful in 21s
All checks were successful
Build Docker / Build Docker (push) Successful in 21s
This commit is contained in:
parent
5388739b2b
commit
c162ea8d21
@ -29,6 +29,9 @@ jobs:
|
||||
else
|
||||
tag_num="${tag}-${tag_num}"
|
||||
fi
|
||||
|
||||
cd website
|
||||
|
||||
echo "version: ${GITHUB_RUN_NUMBER}" > content/version.txt
|
||||
docker build -t hns_doh:$tag_num .
|
||||
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||
|
@ -1,4 +0,0 @@
|
||||
FROM nginx
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
COPY website/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY website/content /var/www/html
|
4
website/Dockerfile
Normal file
4
website/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
||||
FROM nginx
|
||||
RUN rm /etc/nginx/conf.d/default.conf
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY content /var/www/html
|
Loading…
Reference in New Issue
Block a user