From 3e5c19fffab7d266161a1a9697b41ef2365aa378 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Sat, 11 Feb 2023 15:28:49 +0100 Subject: [PATCH] document installing via github actions (#2097) --- .../getting-started/installation.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/content/documentation/getting-started/installation.md b/docs/content/documentation/getting-started/installation.md index 45744bdea6..670edc28a7 100644 --- a/docs/content/documentation/getting-started/installation.md +++ b/docs/content/documentation/getting-started/installation.md @@ -116,6 +116,23 @@ To avoid having to type this every time, an alias can be created in `~/.bashrc`: $ alias zola="flatpak run org.getzola.zola" ``` +### Via Github Actions + +Zola can be installed in a GHA workflow with [taiki-e/install-action](https://github.com/taiki-e/install-action). +Simply add it in your CI config, for example: + +```yaml +jobs: + foo: + steps: + - uses: taiki-e/install-action@v2 + with: + tool: zola@v0.16 + # ... +``` + +See the action repo for docs and more examples. + ### Docker Zola is available on [the GitHub registry](https://github.com/getzola/zola/pkgs/container/zola).