Zola-powered blog, deployed to GitHub Pages.
zola servefor local previewzola buildto generatepublic/zola checkto validate config and linksmake new-post slug=my-new-postto scaffold a new blog post incontent/blog/
This repository publishes new articles to dev.to automatically via GitHub Actions.
Workflow:
- File:
.github/workflows/publish.yml - Trigger: Push to
mainor manualworkflow_dispatch
Article sync scope:
- Includes all markdown files under
content/blog/ - Excludes section index files (
_index.md) - Posts without the
softwaretag are skipped with a warning during DEV conversion
Publishing:
- Builds and deploys the Zola site to GitHub Pages in the same workflow
- Uses
sinedied/publish-devto@v2 - Lets the action handle create/update sync for matching files
Required repository secrets:
DEVTO_API_KEY: dev.to API key for publishing
Notes:
- The workflow is push-driven on
main. Feature branch updates do not publish unless manually triggered after merge. - If a draft file (
draft = true) reaches DEV conversion, it is sent withpublished: false. - For SEO attribution, set
canonical_urlin each post front matter to the GitHub Pages URL for that post.