首页 > 解决方案 > 从 gitlab 自动部署到 heroku

问题描述

大家好,我想知道是否可以从 gitlab 自动部署到 heroku(react 应用程序),现在这是我的 gitlab-ci

image: node:8.10.0-alpine
cache:
  key: "alpine"
  paths:
    - node_modules/

before_script:
  - npm install

build:
  stage: build
  artifacts:
    paths:
      - dist/
  script:
    - npm run build
  only:
    - master
  tags:
    - docker

有没有办法将构建的项目推送到heroku?

标签: node.jsreactjsherokugitlab

解决方案


推荐阅读