jean-cloud-services/services/quadrille-elsa.jean-cloud.net/deploy_http.sh
Adrian Amaglio 8e04aa4f13 update
2023-09-29 09:51:22 +02:00

17 lines
604 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
#. "$DATA_DIR/.env"
#webdav_url="$(echo "$NC_SHARE_LINK" | sed 's#/s/.*#/public.php/webdav/#')"
#webdav_user="$(echo "$NC_SHARE_LINK" |sed 's#.*/s/##')"
#webdav_pass="$(rclone obscure "$NC_SHARE_PASSWORD")"
#wget -qO- "https://github.com/zhaohuabing/hugo-theme-cleanwhite/archive/refs/tags/2.0.0.tar.gz" | tar xvz -C "$HTTP_DIR"
git_update.sh -b main -d "$HTTP_DIR" "$GIT_SOURCE_REPO"
#rclone sync --webdav-url="$webdav_url" --webdav-user="$webdav_user" --webdav-pass="$webdav_pass" --webdav-vendor=nextcloud :webdav: "$HTTP_DIR/$CLOUD_LOCAL_PATH"
cd "$HTTP_DIR"
hugo