mirror of
https://github.com/YunoHost-Apps/ghost_ynh.git
synced 2024-09-03 19:16:02 +02:00
Merge pull request #184 from YunoHost-Apps/testing
This commit is contained in:
commit
7f56e8a4ca
8 changed files with 19 additions and 8 deletions
|
@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
|
||||
Publishing, memberships, subscriptions and newsletters platform
|
||||
|
||||
**Shipped version:** 5.8.3~ynh1
|
||||
**Shipped version:** 5.16.2~ynh1
|
||||
|
||||
|
||||
## Screenshots
|
||||
|
|
|
@ -17,7 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
|
|||
|
||||
Plateforme d'édition, d'adhésions, d'abonnements et de newsletters
|
||||
|
||||
**Version incluse :** 5.8.3~ynh1
|
||||
**Version incluse :** 5.16.2~ynh1
|
||||
|
||||
|
||||
## Captures d'écran
|
||||
|
|
5
conf/admin.src
Normal file
5
conf/admin.src
Normal file
|
@ -0,0 +1,5 @@
|
|||
SOURCE_URL=https://github.com/TryGhost/Admin/archive/refs/tags/v5.16.2.zip
|
||||
SOURCE_SUM=d5558cd419c8d46bdc958064cb97f963d1ea793866414c025906ec15033512ed
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.8.3
|
||||
SOURCE_SUM=557c39864483fff00beeb60e27d84915e184845c69db3be83dcd7a65f327d497
|
||||
SOURCE_URL=https://api.github.com/repos/TryGhost/Ghost/zipball/v5.16.2
|
||||
SOURCE_SUM=76dba5c55c20ac1721213bd3eca4a5fd2698659ac2856ae3bf427d32180c3eae
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.2.3.zip
|
||||
SOURCE_SUM=49d57ce078a2775f39d019ed74fa4ae9476e95fa35b02593c726c0ea25fe49df
|
||||
SOURCE_URL=https://github.com/TryGhost/Casper/archive/refs/tags/v5.3.1.zip
|
||||
SOURCE_SUM=62ea7d1da697f10f220852854d1bc4a1d7bf95b84b0021d55befd1b8af622a33
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Publishing, memberships, subscriptions and newsletters platform",
|
||||
"fr": "Plateforme d'édition, d'adhésions, d'abonnements et de newsletters"
|
||||
},
|
||||
"version": "5.8.3~ynh1",
|
||||
"version": "5.16.2~ynh1",
|
||||
"url": "https://ghost.org/",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
@ -51,4 +51,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -103,6 +103,7 @@ ynh_setup_source --dest_dir="$final_path"
|
|||
mkdir -p $final_path/ghost/core/content/themes/casper
|
||||
ynh_setup_source --dest_dir="$final_path/ghost/core/content/themes/casper" --source_id="casper"
|
||||
|
||||
git init "$final_path" -q
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
|
|
@ -175,6 +175,11 @@ chown $app:$app "$final_path/.yarnrc.yml"
|
|||
# BUILD GHOST
|
||||
#==============================================
|
||||
|
||||
# Make the final_path a git repo if needed
|
||||
if [ ! -d "$final_path/.git" ]; then
|
||||
ynh_exec_as $app git init "$final_path" -q
|
||||
fi
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Building Ghost... (this will take some time and resources!)"
|
||||
|
|
Loading…
Add table
Reference in a new issue