autoposting from github to devto

Clive Da - Jan 16 '20 - - Dev Community

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

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.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player