im trying out autoposting from github to devto as per devto autoposting and its fantastic IF you format your dev-to-git.json
correctly
my devto pages github repo is at
my devto autoposted pages are at
- https://dev.to/osde8info/devto-auto-post-test-post-a-2d93
- https://dev.to/osde8info/devto-auto-post-test-post-b-23j
- https://dev.to/osde8info/devto-auto-post-test-56j4
- https://dev.to/osde8info/devto-auto-post-test4-jj7
- https://dev.to/osde8info/devto-auto-post-test5-1kg5
test locally by running embed and pretty locally before you PUSH to github
$ yarn embed
$ yarn prettier
see if you are getting yarn prettier errors "EXIT 1" is BAD
LOCAL ERORRS
$ yarn prettier:check
yarn run v1.21.1
warning package.json: No license field
$ yarn run prettier "**/*.{js,json,scss,md,ts,html,component.html}" --list-different
warning package.json: No license field
$ prettier '**/*.{js,json,scss,md,ts,html,component.html}' --list-different
dev-to-git.json
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
TRAVIS ERORRS
$ yarn run v1.3.2
(node:6183) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
warning package.json: No license field
$ yarn run prettier:base --list-different
$ yarn run prettier "**/*.{js,json,scss,md,ts,html,component.html}" --list-different
warning package.json: No license field
$ prettier '**/*.{js,json,scss,md,ts,html,component.html}' --list-different
dev-to-git.json
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.