sinedied / publish-devto

:postbox: GitHub Action to publish markdown files on dev.to platform, with assets hosted on GitHub.
MIT License
38 stars 8 forks source link

Error: end of the stream or a document separator is expected #32

Closed k1lgor closed 1 year ago

k1lgor commented 1 year ago

Using the template and every time is the same error:

Run sinedied/publish-devto@v2
  with:
    devto_key: ***
    github_token: ***
    files: posts/**/*.md
    branch: main
    conventional_commits: true
    dry_run: false

Found 1 article(s)
- Retrieving articles from dev.to…
Error: end of the stream or a document separator is expected at line 9, column 1:
    One of the most basic uses of th ... 
    ^
Push failed

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/[2](https://github.com/k1lgor/publish-to-devto/actions/runs/4155968053/jobs/7189424736#step:3:2)022-[10](https://github.com/k1lgor/publish-to-devto/actions/runs/4155968053/jobs/7189424736#step:3:11)-[11](https://github.com/k1lgor/publish-to-devto/actions/runs/4155968053/jobs/7189424736#step:3:12)-github-actions-deprecating-save-state-and-set-output-commands/
Error: Error: Table must define at least one row.

the md file starts:

---
title: Discovering the Power of xargs command in Linux
published: false
description: Test post
tags: 'bash, linux, beginners'
cover-image: ./assets/post-6.jpg
canonical_url: null
---

## _**Compressing and Archiving Files with tar: Examples and Tips**_

### _**Introduction**_
k1lgor commented 1 year ago

Inactivity