1
我試圖提供Gradle和Heroku的連續部署,但由於某些原因,部署步驟未運行。CircleCI + Gradle + Heroku部署
CircleCI Pipeline result
我已經更新了關鍵的Heroku圓詞。
version: 2
jobs:
build:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/repo
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "build.gradle" }}
- v1-dependencies-
- run: gradle dependencies
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "build.gradle" }}
# run tests!
- run: gradle test
deployment:
staging:
branch: master
heroku:
appname: my-heroku-app
請問你們能幫助我嗎?部署步驟是否在正確的位置?