Skip to content

Commit

Permalink
test PR guard
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Nov 8, 2018
1 parent 788107b commit 3d3405d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions celeste-config-pr.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
module.exports = {
publishers: {
file: true,
github: {
auth: {
type: 'token',
token: process.env.CELESTE_GH
},
context: {
ref: process.env.TRAVIS_PULL_REQUEST_SHA,
repo: 'awesome-react-native',
owner: 'jondot',
defaultCommitMessage: 'Celeste: update'
}
}
},
plugins: {
dedupLinks: true,
brokenLinks: true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"ci:pr": "celeste -c celeste-config-pr.js -i README.md --output out.md",
"ci:weekly": "celeste -c celeste-config-weekly.js -i README.md --output out.md",
"ci:pr": "celeste -c celeste-config-pr.js -i README.md --output README.md",
"ci:weekly": "celeste -c celeste-config-weekly.js -i README.md --output README.md",
"refresh-site": "make docs && make publish"
},
"dependencies": {
Expand Down

0 comments on commit 3d3405d

Please sign in to comment.