Revised toot workflow

This commit is contained in:
Brandon Rozek 2024-07-28 19:47:25 -07:00
parent 418ae76066
commit 5025642c44
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480

View file

@ -38,6 +38,22 @@ jobs:
tar -xvzf hugo.tar.gz tar -xvzf hugo.tar.gz
sudo mv hugo /usr/local/bin sudo mv hugo /usr/local/bin
- name: Install Rust
run: |
sudo apt update
sudo apt install -y rustc cargo
- name: Build
run: |
cd content/toots/.scripts
cargo build --release
- name: Generate Hugo Markdown for Toots
run: |
cd content/toots/.scripts
./target/release/generate_md
- name: Build Hugo Website - name: Build Hugo Website
id: build id: build
run: | run: |