QYG2297248353 dda31346aa
Some checks failed
Process Apps and Commit Changes / process (push) Has been cancelled
Push custom to released / push-branch (push) Has been cancelled
Processed apps directory via GitHub Actions
2024-12-31 04:33:44 +00:00

21 lines
328 B
Bash

#!/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