Skip to content

🤖 Commiting publications metadata #14

🤖 Commiting publications metadata

🤖 Commiting publications metadata #14

Workflow file for this run

name: Publish article
on:
pull_request:
push:
branches:
- main
jobs:
publish-articles-action:
name: Publish article
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Markdown Code inject
id: markdown-code-inject
uses: Cox65/markdown-code-inject@main
- name: Auto-commit markdown code inject
id: auto-commit-images
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🤖 Commiting code-inject changes
- name: Publishing article
id: publishing-article
uses: Cox65/dev-articles-publisher@main
with:
searchPatterns: "article/README.md"
hashnodeApiKey: ${{ secrets.HASHNODE_API_KEY }}
mediumApiKey: ${{ secrets.MEDIUM_API_KEY }}
devToApiKey: ${{ secrets.DEVTO_API_KEY }}
- name: Auto-commit
id: auto-commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🤖 Commiting publications metadata