Remove unneeded GH Action steps

This commit is contained in:
Brandon Rozek 2025-06-08 19:44:05 -04:00
parent 53b9acc9f0
commit e58cf41649
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
2 changed files with 0 additions and 32 deletions

View file

@ -43,21 +43,6 @@ 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 Website-Toots
run: |
cd content/toots/.scripts
cargo build --release
- name: Pre-build script
run: |
./build.sh
- name: Build Hugo Website
id: build
run: |

View file

@ -1,17 +0,0 @@
#!/usr/bin/env bash
# Generate toot markdown files
pushd content/toots/.scripts > /dev/null
generate_exe="./target/release/generate_md"
# Check if the file exists and is executable
if [ -e "$generate_exe" ] && [ -x "$generate_exe" ]; then
./target/release/generate_md
else
echo "The executable '$generate_exe' does not exist."
echo "Perhaps run cargo build in 'content/toots/.scripts'?"
fi
popd > /dev/null