Skip to content

Add (legacy) rss.xml feed file #111

Add (legacy) rss.xml feed file

Add (legacy) rss.xml feed file #111

Workflow file for this run

# On every push this script is executed
name: Build with Zola and Deploy with GitHub Pages
on:
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
# Build static file with Zola's preferred action.
build:
environment:
name: Build with Zola Action and Deploy with GitHub's "static" Starter Workflow
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build (and don't deploy)
uses: shalzz/zola-deploy-action@master
env:
# Don't deploy to gh-pages b/c legacy. Instead, output to `public/` and let the next job do it. https://github.com/orgs/community/discussions/57010#discussioncomment-6076233
BUILD_ONLY: true
# Deploy static files with GitHub's "static" starter workflow. https://github.com/actions/starter-workflows/blob/main/pages/static.yml
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload contents of Zola's output directory.
path: 'public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4