File tree Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Expand file tree Collapse file tree 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 33
33
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
34
34
35
35
- name : Install Zola
36
- run : cargo install --locked --git https://github.com/senekor/zola --rev 79410eea82f837e4de9b1e4c3905287060b69255
36
+ run : curl --proto '=https' --tlsv1.2 -LsSf https://github.com/senekor/zola/releases/download/v0.20.1-senekor/zola-installer.sh | sh
37
37
- run : zola build
38
38
- run : cp CNAME ./public/
39
39
- run : touch public/.nojekyll
Original file line number Diff line number Diff line change 15
15
- run : rustup override set ${{ env.RUST_VERSION }}
16
16
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
17
17
- name : Install Zola
18
- run : cargo install --locked --git https://github.com/senekor/zola --rev 79410eea82f837e4de9b1e4c3905287060b69255
18
+ run : curl --proto '=https' --tlsv1.2 -LsSf https://github.com/senekor/zola/releases/download/v0.20.1-senekor/zola-installer.sh | sh
19
19
20
20
- run : git fetch --depth 2
21
21
- run : git checkout origin/master
Original file line number Diff line number Diff line change @@ -8,13 +8,22 @@ It uses [Zola](https://www.getzola.org/) and is deployed to GitHub Pages via Git
8
8
9
9
## Building
10
10
11
- To serve the site locally, first install Zola: (takes a couple minutes)
11
+ To serve the site locally, first install Zola:
12
+
13
+ Linux, MacOS:
14
+
15
+ ``` sh
16
+ curl --proto ' =https' --tlsv1.2 -LsSf https://github.com/senekor/zola/releases/download/v0.20.1-senekor/zola-installer.sh | sh
17
+ ```
18
+
19
+ Windows:
12
20
13
21
``` sh
14
- # using a fork because we rely on a few patches that haven't landed yet
15
- cargo install --locked --git https://github.com/senekor/zola --rev 79410eea82f837e4de9b1e4c3905287060b69255
22
+ powershell -ExecutionPolicy Bypass -c " irm https://github.com/senekor/zola/releases/download/v0.20.1-senekor/zola-installer.ps1 | iex"
16
23
```
17
24
25
+ (We're currently using a fork to provide prebuilt binaries until Zola's next official release.)
26
+
18
27
Now run ` zola serve --open ` .
19
28
The site will be reloaded automatically when you make any changes.
20
29
Original file line number Diff line number Diff line change 1
1
+++
2
2
title = " Rust Blog"
3
3
description = " Empowering everyone to build reliable and efficient software."
4
+ sort_by = " permalink"
4
5
generate_feeds = true
5
6
[extra ]
6
7
index_title = " The Rust Programming Language Blog"
Original file line number Diff line number Diff line change 1
1
+++
2
2
title = " Inside Rust Blog"
3
3
description = " Want to follow along with Rust development? Curious how you might get involved? Take a look!"
4
+ sort_by = " permalink"
4
5
generate_feeds = true
5
6
[extra ]
6
7
index_title = ' The "Inside Rust" Blog'
You can’t perform that action at this time.
0 commit comments