Skip to content

Publish new Post

Publish new Post #56

Workflow file for this run

name: Publish new Post
on:
schedule:
- cron: "30 10 * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Run the Python script
run: python automate_blog.py
- name: Commit and push changes to main
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update blog
commit_user_name: conradojuliosisnero
commit_user_email: conradojuliosisnero@gmail.com
commit_author: conradojuliosisnero