Commit 553d341c authored by Simon's avatar Simon

release 1.26.1

parent f3d942cb
......@@ -20,9 +20,9 @@
## Production
- build CSS & JS assets - `C:\web\dev.biuro\ npm run build`
- build new image `docker build -t biuro/web:1.26.0 .` (update version number)
- build new image `docker build -t biuro/web:1.26.1 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.26.0`
- push image to docker repository - `docker push biuro/web:1.26.1`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -38,18 +38,6 @@ server {
ssl_certificate /etc/letsencrypt/conf/live/staging.biuro.lt/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/conf/live/staging.biuro.lt/privkey.pem;
location =/robots.txt {
root /var/www/html/biuro.lv;
}
location =/sitemap.xml {
root /var/www/html/biuro.lv;
}
location =/old-sitemap.xml {
root /var/www/html/biuro.lv;
}
# 301 redirects
include redirects/biuro.lv.conf;
}
......@@ -65,18 +53,6 @@ server {
ssl_certificate /etc/letsencrypt/conf/live/staging.biuro.lt/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/conf/live/staging.biuro.lt/privkey.pem;
location =/robots.txt {
root /var/www/html/biuro.ee;
}
location =/sitemap.xml {
root /var/www/html/biuro.ee;
}
location =/old-sitemap.xml {
root /var/www/html/biuro.ee;
}
# 301 redirects
include redirects/biuro.ee.conf;
}
......@@ -64,3 +64,8 @@ location ~ \.php$ {
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
......@@ -263,13 +263,3 @@ rewrite ^/ueber-biuro/?$ /de/ueber-biuro/ueber-die-arbeitsvermittlungsagentur/ p
rewrite ^/assets/(.*)CODE-OF-CONDUCT-LT.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-LT.pdf permanent;
rewrite ^/assets/(.*)CODE-OF-CONDUCT-EN.pdf$ /wp-content/uploads/2018/10/CODE-OF-CONDUCT-EN.pdf permanent;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml$ "/index.php?xml_sitemap=params=$2" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.xml\.gz$ "/index.php?xml_sitemap=params=$2;zip=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html$ "/index.php?xml_sitemap=params=$2;html=true" last;
rewrite ^/sitemap(-+([a-zA-Z0-9_-]+))?\.html.gz$ "/index.php?xml_sitemap=params=$2;html=true;zip=true" last;
......@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.26.0
Version: 1.26.1
Text Domain: biuro
*/
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_3_0_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_4_0_2] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_4_4_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_4_5_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_0_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_2_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_3_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_9_0] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_10_3] has run successfully
[2021-08-10 10:15:23] DEBUG [Modules\Migrate:152] [Migrate_5_11_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_3_0_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_4_0_2] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_4_4_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_4_5_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_0_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_2_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_3_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_9_0] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_10_3] has run successfully
[2021-08-10 10:18:43] DEBUG [Modules\Migrate:152] [Migrate_5_11_0] has run successfully
......@@ -19,7 +19,7 @@ wp core update --force;
wp core update-db --network;
wp core language update;
versionGoogleSitemapGenerator: 4.1.1;
versionGoogleSitemapGenerator=4.1.1;
versionAkismet=4.1.10;
versionLocoTranslate=2.5.3;
versionPods=2.7.29;
......@@ -41,7 +41,7 @@ else
if [ $(wp plugin get google-sitemap-generator --field=version) != "$versionGoogleSitemapGenerator" ]; then
wp plugin update google-sitemap-generator --version="$versionGoogleSitemapGenerator";
else
echo "plugin loco-translate is up to date";
echo "plugin google-sitemap-generator is up to date";
fi
if [ $(wp plugin get loco-translate --field=version) != "$versionLocoTranslate" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment