mirror of
https://github.com/Brandon-Rozek/website.git
synced 2024-11-09 10:40:34 -05:00
Compare commits
9 commits
7461010e46
...
1e96cdae1b
Author | SHA1 | Date | |
---|---|---|---|
1e96cdae1b | |||
7b93fa1945 | |||
1340904cd1 | |||
db70d3558e | |||
263be46988 | |||
1107a08a1c | |||
5025642c44 | |||
418ae76066 | |||
8febde5c3b |
6 changed files with 1360 additions and 2 deletions
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
|
@ -38,6 +38,21 @@ 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: |
|
||||
|
|
17
build.sh
Executable file
17
build.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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
|
|
@ -1 +1 @@
|
|||
Subproject commit 56265598336a6490230b96e82e077135427e1e33
|
||||
Subproject commit 4f73f9173b9847b61f2ec3fe62376ba6728ac75e
|
23
content/tracks/Santa-Teresa-2024-07-27.md
Normal file
23
content/tracks/Santa-Teresa-2024-07-27.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
title: "Santa Teresa"
|
||||
date: 2024-07-27T15:07:24-04:00
|
||||
draft: false
|
||||
gpx: "2024-07-27-Santa-Teresa.gpx"
|
||||
---
|
||||
|
||||
{{< details "Show photos:" >}}
|
||||
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_222623565.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_224244889.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_224501345.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_223856913.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_231528504.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_224018725.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_221337864.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_223846882.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_221029525.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_224401629.jpg)
|
||||
![](/files/images/tracks/2024-07-27/PXL_20240727_230834922.jpg)
|
||||
|
||||
|
||||
{{< /details >}}
|
1303
static/data/tracks/2024-07-27-Santa-Teresa.gpx
Normal file
1303
static/data/tracks/2024-07-27-Santa-Teresa.gpx
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1 +1 @@
|
|||
Subproject commit 7461937fd6de4defef02b73fd1df7e2edc18993b
|
||||
Subproject commit e54b280af3c1ab63e837e8b49bc8f59a600189ab
|
Loading…
Reference in a new issue