We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a7eccc4 + e981d14 commit a5fb4daCopy full SHA for a5fb4da
.github/workflows/CD.yml
@@ -29,6 +29,10 @@ jobs:
29
- name: Build with npm
30
run: npm run build-only
31
32
+ - name: Create nginxfile.conf
33
+ run: touch ./nginxfile.conf
34
+ - run: echo "${{ secrets.NGINX_FILE_CONF }}" > ./nginxfile.conf
35
+
36
- name: Create nginx.conf
37
run: touch ./nginx.conf
38
- run: echo "${{ secrets.NGINX_CONF }}" > ./nginx.conf
Dockerfile
@@ -1,4 +1,5 @@
1
FROM nginx
2
+COPY nginxfile.conf /etc/nginx/nginx.conf
3
COPY nginx.conf /etc/nginx/conf.d/default.conf
4
COPY dist/. /usr/share/nginx/html/
5
CMD ["nginx", "-g", "daemon off;"]
0 commit comments