Skip to content

Commit 28bb4fa

Browse files
testing new git action
1 parent 17f2204 commit 28bb4fa

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
name: Dev.to Publish
22
on: [push]
33
jobs:
4-
build:
4+
crosspost:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout Code
88
uses: actions/checkout@v2
99
with:
10-
fetch-depth: 3
10+
fetch-depth: 2
1111

12-
- uses: actions/setup-node@v1
12+
- uses: basicBrogrammer/crosspost-markdown@v0.1
1313
with:
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 }}
14+
content-dir: './content/articles/'
15+
dev-to-token: 'funny-funny'

0 commit comments

Comments
 (0)