update readability #1718
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish to Dev.to | |
on: | |
push: | |
paths: | |
- 'posts/**/**.md' # Path for community timeline | |
- 'posts/**/**/**.md' # Path for all posts (yearly) | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3.6.0 | |
- name: Setup Node | |
uses: actions/setup-node@v3.8.1 | |
with: | |
node-version: 14 | |
- name: Install Dependencies | |
uses: bahmutov/npm-install@v1.8.34 | |
- name: Run Prettier (Write) | |
run: yarn run prettier:write | |
- name: Run Embedme (Write) | |
run: yarn run embedme:write | |
- name: Publish articles on dev.to | |
continue-on-error: true | |
uses: sinedied/publish-devto@v2 | |
with: | |
files: 'posts/**/*.md' | |
devto_key: ${{ secrets.DEVTO_TOKEN }} | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
conventional_commits: true |