Updated workflow.
All checks were successful
Build and Deploy / Build and Deploy (push) Successful in 22s
All checks were successful
Build and Deploy / Build and Deploy (push) Successful in 22s
This commit is contained in:
parent
7edc84b330
commit
27c3f738ad
1 changed files with 2 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
name: Build and Deploy
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
options: --volume "nginx_static:/usr/share/nginx/static:rw"
|
||||
options: --volume "${{ secrets.NGINX_HTML_DIRECTORY }}:/usr/share/nginx/html:rw"
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
|
@ -76,4 +76,4 @@ jobs:
|
|||
pnpm html-minifier-terser --collapse-whitespace --minify-css --minify-js --remove-comments --input-dir public --output-dir public --file-ext html
|
||||
-
|
||||
name: Copy files to public folder
|
||||
run: mkdir -p /usr/share/nginx/static/fpv; cp -rf public/* /usr/share/nginx/static/fpv
|
||||
run: mkdir -p /usr/share/nginx/html/fpv; cp -rf public/* /usr/share/nginx/html/fpv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue