Commit 47cd0ea4 authored by Simon's avatar Simon

release 1.17.0

parent 75a2ea4b
......@@ -2,7 +2,6 @@ PROJECT=dev-biuro
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
# IMAGE_WORDPRESS=wordpress:php7.4-fpm
IMAGE_WORDPRESS=biuro/wordpress:0.0.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.4
......
......@@ -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.16.0 .` (update version number)
- build new image `docker build -t biuro/web:1.17.0 .` (update version number)
- login to biuro docker account `docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
- push image to docker repository - `docker push biuro/web:1.16.0`
- push image to docker repository - `docker push biuro/web:1.17.0`
## Production
- update biuro/web image version in .env file (staging or www)
......
......@@ -186,7 +186,6 @@ class Biuro_Jobs extends WP_Widget {
if (function_exists('logPositions')):
// echo '<h1 style="border: 1px solid blue;">Lorem ipsum</h1>';
logPositions($ads);
endif;
......
......@@ -1117,8 +1117,6 @@ function handlePositionsLogs() {
$pool = Pool::create();
$start = microtime(true);
$token = getOauthToken();
foreach ($results as $r):
......@@ -1130,7 +1128,7 @@ function handlePositionsLogs() {
'country_id' => $r->country_id,
]);
$pool[] = async(function () use ($apiURL, $token, $data, $start, $r) {
$pool[] = async(function () use ($apiURL, $token, $data, $r) {
$ch = curl_init();
curl_setopt_array($ch, array(
......
......@@ -126,8 +126,8 @@ get_header();
if ($location) :
$division = pods( 'division', $location['ID']);
// $locationID = $location['ID'];
$locationID = '256546865';
$locationID = $location['ID'];
// $locationID = '256546865';
$divisionCities = get_the_terms( $locationID, 'city' );
......@@ -135,10 +135,6 @@ get_header();
$divisionCity = $divisionCities[0];
endif;
if (isset($divisionCity)):
delog('$divisionCity');
endif;
$addressRegion = isset($divisionCity->name) ? $divisionCity->name : '';
$postalCode = $division->field('postal-code', true);
$streetAddress = $division->field('title', true);
......
......@@ -3,6 +3,6 @@ Theme Name: Biuro
Author: Biuro
Author URI: https://www.biuro.lt/
Description: Biuro multiregion theme
Version: 1.16.0
Version: 1.17.0
Text Domain: biuro
*/
<?php
// delog('', 'post');
// debug($post);
// delog($post->ID, 'post ID');
$menu_name = 'main-menu';
$locations = get_nav_menu_locations();
$menu = $locations ? wp_get_nav_menu_object( $locations[ $menu_name ] ) : null;
......
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