Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/xpath/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Deployment 带Strapi无头CMS的管道_Deployment_Pipeline_Headless_Bitbucket Pipelines_Strapi - Fatal编程技术网

Deployment 带Strapi无头CMS的管道

Deployment 带Strapi无头CMS的管道,deployment,pipeline,headless,bitbucket-pipelines,strapi,Deployment,Pipeline,Headless,Bitbucket Pipelines,Strapi,我已经建立了一个基于VueJs、NuxtJs和Strapi的本地网站。我的服务器(在one.com上)无法处理NodeJ。所以我想将我的页面构建为一个静态站点。我的计划是运行一个pipline,它启动我的节点服务器,这样我的应用程序就可以从strapi中获取数据,构建页面,然后将其作为HTML、CSS和JS自动上传到我的服务器上 此时,我的管道启动服务器,但不要继续 image: node:10.15.3 pipelines: branches: master: - s

我已经建立了一个基于VueJs、NuxtJs和Strapi的本地网站。我的服务器(在one.com上)无法处理NodeJ。所以我想将我的页面构建为一个静态站点。我的计划是运行一个pipline,它启动我的节点服务器,这样我的应用程序就可以从strapi中获取数据,构建页面,然后将其作为HTML、CSS和JS自动上传到我的服务器上

此时,我的管道启动服务器,但不要继续

image: node:10.15.3

pipelines:
  branches:
    master:
      - step:
          name: Start Strapi Node Server
          deployment: live
          caches:
            - node
          script:
            - cd server
            - npm ci
            - npm run start

      - step:
          name: Frontend Build Process
          caches:
            - node
          script: # Modify the commands below to build your repository.
            - npm ci
            - npm run build
          artifacts:
            - dist/**

发现我可以用gernate运行nuxt,但这仍然不能解决我的管道问题。在生成strapi serve必须运行时,您认为本例中的数据库托管在哪里?发现我可以使用gernate运行nuxt-->,但这仍然无法解决我的管道问题。在生成strapi服务时必须运行,您认为本例中的数据库托管在哪里?