node.js - 从 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?
解决方案
推荐阅读
- html - 如果换行符删除分隔符
- enums - 做教程...枚举下拉值设置为与显示相同的文本..不应该将它们呈现为整数
- python - 在 Python 中生成列表列表,但获得相同 ID 的嵌套元素
- python - 如何按循环的顺序更改文件
- python - 使用 Python 的瞻博网络到 Aruba 命令
- sql - 如何根据某个时间段内的时间戳或以前的记录对数据进行分桶?
- laravel - 如何在 {!! Vue 和 Laravel 中的表单
- amazon-web-services - 如何使用包含多个来源的 AWS Cloudfront 处理 403 和 404 错误
- sql - 在创建表上触发为 sql
- discord.py - 如何摆脱keep_alive的错误?