mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
execute permissions are given and site check fixed
This commit is contained in:
parent
95c7350952
commit
1298b34e38
2 changed files with 5 additions and 1 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
|
@ -169,6 +169,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
ssh ${{ env.HETZNER_USER }}@${{ env.HETZNER_HOST }} "
|
||||||
cd ${{ env.DEPLOY_PATH }}
|
cd ${{ env.DEPLOY_PATH }}
|
||||||
|
|
||||||
|
# Make sure the script is executable
|
||||||
|
chmod +x scripts/*
|
||||||
|
|
||||||
./scripts/migrate-all-sites.sh
|
./scripts/migrate-all-sites.sh
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ set -e
|
||||||
echo "🔄 Starting migration for all sites..."
|
echo "🔄 Starting migration for all sites..."
|
||||||
|
|
||||||
# Get list of all sites
|
# Get list of all sites
|
||||||
SITES=$(docker compose exec -T backend ls -1 /workspace/development/frappe-bench/sites | grep -v '^apps.txt$' | grep -v '^common_site_config.json$' | grep -v '^assets$' | grep -v '^\..*$')
|
SITES=$(docker compose exec -T backend ls -1 /home/frappe/frappe-bench/sites | grep -v '^apps.txt$' | grep -v '^apps.json$' | grep -v '^common_site_config.json$' | grep -v '^assets$' | grep -v '^\..*$')
|
||||||
|
|
||||||
if [ -z "$SITES" ]; then
|
if [ -z "$SITES" ]; then
|
||||||
echo "❌ No sites found!"
|
echo "❌ No sites found!"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue