This is a small Nuxt.js project for my personal website hosted in github.
A helper to install the compiled files into gh-pages.
- build: builds a docker image with node:16
- start: runs
npm run devinside of a container started from the image build withbuild - install: runs
npm run generateto build the static files and moves them to the branchgh-pages - ensure_deps: runs
npm installto install all dependencies - shell: runs
bashwithin a container started from the image built withbuild
Note: all commands except build mount the current directory - with is expected to be the root of the repo - to /app inside the container. ensure_deps will install all dependencies on the host machine.