Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8d4608a

Browse files
authoredFeb 25, 2020
Merge c0cd146 into 5972282
2 parents 5972282 + c0cd146 commit 8d4608a

File tree

307 files changed

+125827
-12654
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+125827
-12654
lines changed
 

‎CHANGELOG.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [v2.0.1](https://github.com/amondnet/now-deployment/tree/v2.0.1) (2020-02-25)
44

5-
[Full Changelog](https://github.com/amondnet/now-deployment/compare/v2.0.0...v2.0.1)
5+
[Full Changelog](https://github.com/amondnet/now-deployment/compare/v2...v2.0.1)
66

77
**Fixed bugs:**
88

@@ -24,13 +24,16 @@
2424

2525
**Implemented enhancements:**
2626

27-
- Support for Now CLI v17 [\#24](https://github.com/amondnet/now-deployment/issues/24)
2827
- Do not want to receive comments from action [\#14](https://github.com/amondnet/now-deployment/issues/14)
28+
- Support for Now CLI v17 [\#24](https://github.com/amondnet/now-deployment/issues/24)
2929
- feat: now cli v17, add `NOW\_PROJECT\_ID` and `NOW\_ORG\_ID` env variable [\#26](https://github.com/amondnet/now-deployment/pull/26) ([amondnet](https://github.com/amondnet))
3030

31-
**Closed issues:**
31+
**Fixed bugs:**
3232

3333
- Deploy stalled [\#23](https://github.com/amondnet/now-deployment/issues/23)
34+
35+
**Closed issues:**
36+
3437
- Can I upload the contents of a folder with pre-built assets? [\#22](https://github.com/amondnet/now-deployment/issues/22)
3538
- getting 403 error every time it tries to comment [\#18](https://github.com/amondnet/now-deployment/issues/18)
3639
- Feature: Ability to specify path for --local-config flag [\#16](https://github.com/amondnet/now-deployment/issues/16)

‎index.js

+5
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ async function run() {
5555
} else {
5656
core.info("comment : disabled");
5757
}
58+
const pull = await octokit.pulls.get(context.issue.number)
59+
core.info(pull)
60+
core.info(`ref : ${context.payload.pull_request.html_url}`)
5861
}
5962

6063
async function setEnv() {
@@ -117,6 +120,8 @@ async function nowDeploy() {
117120
`githubCommitRepo=${context.repo.repo}`,
118121
"-m",
119122
`githubCommitMessage=${commit}`,
123+
"-m",
124+
`githubCommitRef=${context.ref}`
120125
],
121126
options
122127
)

0 commit comments

Comments
 (0)
Please sign in to comment.