From e58cf41649c9d99326795d7e8b8c4d6badb56a99 Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Sun, 8 Jun 2025 19:44:05 -0400 Subject: [PATCH] Remove unneeded GH Action steps --- .github/workflows/deploy.yml | 15 --------------- build.sh | 17 ----------------- 2 files changed, 32 deletions(-) delete mode 100755 build.sh diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a72f5d6..1c7b76b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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: | diff --git a/build.sh b/build.sh deleted file mode 100755 index b0693a0..0000000 --- a/build.sh +++ /dev/null @@ -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