From 5025642c44619999dcb9c8bd705ab9af5d2d0626 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sun, 28 Jul 2024 19:47:25 -0700 Subject: [PATCH] Revised toot workflow --- .github/workflows/deploy.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 23688d1..603ef90 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,22 @@ jobs: tar -xvzf hugo.tar.gz 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 id: build run: |