Skip to content

fix: handle newline characters in markdown file processing #1

fix: handle newline characters in markdown file processing

fix: handle newline characters in markdown file processing #1

Workflow file for this run

name: Post Articles
on:
push:
branches:
- main
paths:
- 'blogposts/**'
jobs:
post-articles:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Run upload script
env:
API_KEY: ${{ secrets.API_KEY }}
API_URL: ${{ secrets.API_URL }}
run: python hack/post-articles.py