We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17f2204 commit 28bb4faCopy full SHA for 28bb4fa
.github/workflows/publish-to-dev-to.yml
@@ -1,20 +1,15 @@
1
name: Dev.to Publish
2
on: [push]
3
jobs:
4
- build:
+ crosspost:
5
runs-on: ubuntu-latest
6
steps:
7
- name: Checkout Code
8
uses: actions/checkout@v2
9
with:
10
- fetch-depth: 3
+ fetch-depth: 2
11
12
- - uses: actions/setup-node@v1
+ - uses: basicBrogrammer/crosspost-markdown@v0.1
13
14
- node-version: '12.x'
15
- registry-url: 'https://registry.npmjs.org'
16
- - run: npm install -g @github-docs/frontmatter node-fetch
17
- - run: npm link @github-docs/frontmatter node-fetch
18
- - run: node dev-to.js
19
- env:
20
- DEV_TOKEN: ${{ secrets.DEV_TO }}
+ content-dir: './content/articles/'
+ dev-to-token: 'funny-funny'
0 commit comments