Skip to content

Commit

Permalink
update to get ci to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevnz committed Jun 22, 2019
1 parent f0a183d commit ac2c393
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
docker:
- image: circleci/node:11.9
working_directory: ~/creature-features
working_directory: ~/forms
steps:
- checkout

Expand Down
20 changes: 13 additions & 7 deletions scripts/publish.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
const ghpages = require('gh-pages')

ghpages.publish('dist', function(err) {
if (err) {
console.error('Error Publishing', err)
process.exit(1)
ghpages.publish(
'dist',
{
message: 'Publisher generated commit [ci skip]',
},
function(err) {
if (err) {
console.error('Error Publishing', err)
process.exit(1)
}
console.log('published')
process.exit(0)
}
console.log('published')
process.exit(0)
})
)

0 comments on commit ac2c393

Please sign in to comment.