image: node:latest pages: stage: deploy script: - npm install -g redoc-cli - redoc-cli build swagger/openapi.yaml - cp redoc-static.html public/index.html artifacts: paths: - public/ environment: name: pages