Deploy Angular to Nodion

Deploying a Angular application works by using our native static environment. Our static environment comes with Node, Yarn and Nginx by default. You can simply build your Angular application with yarn and make use of the build_command. The generated output (for example /dist) can be used as publish directory. This way the webserver points to files in that directory.

Simple Nodion File for Angular applications

Simply create a file called nodion.yml in the root directory of your repository.

  env: static
  build_command: yarn && yarn build
  publish_dir: /build