Skip to content

Commit da66f3c

Browse files
author
ADMSK\AVROGAL1
committed
docs: updates on workflows
Added information on documentation
1 parent d5e681c commit da66f3c

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/action-devto.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: TheActionDev Sync
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 23 * * *'
7+
8+
jobs:
9+
operations:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repo
13+
uses: actions/checkout@v2
14+
15+
- name: Syncing Article to dev.to
16+
uses: ful1e5/TheActionDev@v2
17+
with:
18+
api-key: ${{ secrets.DEVTO_API_KEY }}
19+
directory: ./docs/articles
20+
ignore: default.md.tpl

docs/articles/default.md.tpl

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: string # `Required`
3+
published: true/false # `Required` but 'false' by default
4+
description: string # `Optional`
5+
tags: string # `Optional` multiple tags separated by comma (typescript, javascript, github)
6+
series: string # `Optional`
7+
cover_image: string # `Optional` url to image
8+
canonical_url: string # `Optional` url
9+
---
10+
11+
First Post with **TheActionDev** 🤩
12+
13+
{% github ful1e5/TheActionDev %}

0 commit comments

Comments
 (0)