Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
4146d595
Commit
4146d595
authored
May 04, 2019
by
Simon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'invalid-jobs'
parents
baaa7d45
6deb6e51
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+2
-2
single-job.php
wp-content/themes/biuro/single-job.php
+1
-1
No files found.
README.md
View file @
4146d595
...
...
@@ -20,9 +20,9 @@
## Production
-
build CSS & JS assets -
`C:\web\dev.biuro\ npm run build`
-
build new image
`docker build -t biuro/web:0.0.3
1
.`
(update version number)
-
build new image
`docker build -t biuro/web:0.0.3
2
.`
(update version number)
-
login to biuro docker account
`docker login --username=biuro --password=9Ndtjd2vKsLvGuFOeFq1KdJs`
-
push image to docker repository -
`docker push biuro/web:0.0.3
1
`
-
push image to docker repository -
`docker push biuro/web:0.0.3
2
`
## Production
-
update biuro/web image version in .env file (staging or www)
...
...
wp-content/themes/biuro/single-job.php
View file @
4146d595
...
...
@@ -60,7 +60,7 @@ get_header();
<?php
endif
;
$validPosition
=
date_i18n
(
'Y-m-d'
,
strtotime
(
$pod
->
field
(
'valid'
)
)
)
>
date
(
'Y-m-d'
)
?
true
:
false
;
$validPosition
=
date_i18n
(
'Y-m-d'
,
strtotime
(
$pod
->
field
(
'valid'
)
)
)
>
=
date
(
'Y-m-d'
)
?
true
:
false
;
?>
<p>
<?php
_e
(
'Published'
,
'biuro'
);
?>
:
<?php
echo
date_i18n
(
get_option
(
'date_format'
),
strtotime
(
$pod
->
field
(
'post_date'
)
)
);
?>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment