#!/bin/bash # Automatically pushes the andreknie.de subtree to the Gitea remote set -e REPO_URL="https://git.d-hive.de/dHive/andreknie.de.git" BRANCH="master" SUBTREE_PREFIX="privat/CV/andreknie.de" echo "Pushing subtree to $REPO_URL ($BRANCH)..." git subtree push --prefix "$SUBTREE_PREFIX" "$REPO_URL" "$BRANCH" echo "✅ Subtree push successful! The Gitea Action will now deploy the site."