updated RSS feed condition to still check for "generate_feed" #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: public - CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'content/**' | |
- 'sass/**' | |
- 'static/**' | |
- 'templates/**' | |
- 'config.toml' | |
- '.github/workflows/publish.yml' | |
env: | |
ZOLA_VERSION: v0.19.0 | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Download zola | |
run: curl -sL https://github.com/getzola/zola/releases/download/${{ env.ZOLA_VERSION }}/zola-${{ env.ZOLA_VERSION }}-x86_64-unknown-linux-gnu.tar.gz | sudo tar xvzf - -C /usr/local/bin | |
- name: Build site | |
run: zola build -o public | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
folder: public |