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 60f83c1

Browse files
authoredMar 16, 2020
Merge e2a40d5 into ec42e13
2 parents ec42e13 + e2a40d5 commit 60f83c1

File tree

307 files changed

+125830
-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

+125830
-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

+8
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ async function run() {
5555
} else {
5656
core.info("comment : disabled");
5757
}
58+
const pull = await octokit.pulls.get({
59+
...context.repo,
60+
pull_number: context.payload.pull_request.number
61+
})
62+
core.info(pull)
63+
core.info(`ref : ${context.payload.pull_request.html_url}`)
5864
}
5965

6066
async function setEnv() {
@@ -117,6 +123,8 @@ async function nowDeploy() {
117123
`githubCommitRepo=${context.repo.repo}`,
118124
"-m",
119125
`githubCommitMessage=${commit}`,
126+
"-m",
127+
`githubCommitRef=${context.ref}`
120128
],
121129
options
122130
)

0 commit comments

Comments
 (0)
Please sign in to comment.