Add multiarch support and GitHub actions. Support even older versions with newest features

This commit is contained in:
xZero707
2021-09-22 23:46:14 +02:00
parent 566ec70c87
commit 827f27fb7f
12 changed files with 101 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ WP_VERSION=$(echo "${WP_VERSION}" | sed --expression='s/.0//g');
function disableUpdatesPatch() {
if [ "${DISABLE_WP_UPDATES}" != "false" ]; then
echo "> Disabling WordPress updates..."
patch /var/www/html/wp-admin/update-core.php </etc/wp-mods/wp-admin/update-core.php.patch
patch /var/www/html/wp-admin/update-core.php </etc/wp-mods/wp-admin/wp-admin-update-core.patch
fi
}