mirror of
https://github.com/Brandon-Rozek/website.git
synced 2025-08-03 23:31:59 +00:00
Remove unneeded GH Action steps
This commit is contained in:
parent
53b9acc9f0
commit
e58cf41649
2 changed files with 0 additions and 32 deletions
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
|
@ -43,21 +43,6 @@ 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 Website-Toots
|
|
||||||
run: |
|
|
||||||
cd content/toots/.scripts
|
|
||||||
cargo build --release
|
|
||||||
|
|
||||||
- name: Pre-build script
|
|
||||||
run: |
|
|
||||||
./build.sh
|
|
||||||
|
|
||||||
- name: Build Hugo Website
|
- name: Build Hugo Website
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
|
|
17
build.sh
17
build.sh
|
@ -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
|
|
Loading…
Add table
Reference in a new issue