mirror of
https://github.com/helix-editor/website.git
synced 2025-10-05 23:52:39 +02:00
The `generate_feed` option was renamed to `generate_feeds` in version 0.19, so this update should fix the atom feed.
23 lines
654 B
YAML
23 lines
654 B
YAML
name: Publish to Github Pages
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout source
|
|
uses: actions/checkout@v2
|
|
- name: Install Zola
|
|
run: wget -q -O - "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz" | sudo tar xzf - -C /usr/local/bin
|
|
env:
|
|
ZOLA_VERSION: 0.19.2
|
|
- name: Build
|
|
run: zola build
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: ./public |