How to deploy your Nuxt.js application on Gitlab for continuous integration?
First create a Gitlab CI YAML file and name it .gitlab-ci.yml with the following commands:
|
|
Then in nuxt.config.js, add these configuration lines:
|
|
After running the CI job, and on the project’s repository, go to Settings then Pages and click on https://namespace.gitlab.io/whatEverName
to navigate your application.