Synced apps from source repository via GitHub Actions

This commit is contained in:
QYG2297248353
2025-07-03 06:33:46 +00:00
parent 03ccadd4ae
commit e1b479a9b8
19 changed files with 172 additions and 1 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
if [ -f .env ]; then
source .env
if [ ! -d $SIYUAN_ROOT_PATH ]; then
mkdir -p $SIYUAN_ROOT_PATH
fi
if [ ! -d $SIYUAN_ROOT_PATH/workspace ]; then
mkdir -p $SIYUAN_ROOT_PATH/workspace
fi
chown -R 1000:1000 $SIYUAN_ROOT_PATH
echo "Check Finish."
else
echo "Error: .env file not found."
fi