Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
baaf43b9
Commit
baaf43b9
authored
5 years ago
by
dyszczo
Browse files
Options
Downloads
Patches
Plain Diff
docs can be manually refreshed
parent
6ea2e00a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci-1.2.yml
+20
-13
20 additions, 13 deletions
gitlab-ci-1.2.yml
with
20 additions
and
13 deletions
gitlab-ci-1.2.yml
+
20
−
13
View file @
baaf43b9
...
@@ -100,6 +100,21 @@ stages:
...
@@ -100,6 +100,21 @@ stages:
only
:
only
:
-
tags
-
tags
.template
:
&docs-generation
image
:
name
:
wpdesknet/apigen
stage
:
pre-deploy
artifacts
:
expire_in
:
1 day
name
:
"
docs"
paths
:
-
docs/
script
:
-
echo ${WPDESK_CI_VERSION}
-
ls -l
-
/app/vendor/bin/apigen generate
-
php /app/hooks-docs.php ${CI_PROJECT_DIR}
before_script
:
before_script
:
-
cd ${CI_PROJECT_DIR}
-
cd ${CI_PROJECT_DIR}
...
@@ -238,23 +253,15 @@ integration test current woocommerce:
...
@@ -238,23 +253,15 @@ integration test current woocommerce:
-
$DISABLE_INTEGRATION_TESTS
-
$DISABLE_INTEGRATION_TESTS
apigen docs
:
apigen docs
:
image
:
<<
:
*docs-generation
name
:
wpdesknet/apigen
stage
:
pre-deploy
artifacts
:
expire_in
:
1 day
name
:
"
docs"
paths
:
-
docs/
allow_failure
:
true
allow_failure
:
true
script
:
-
echo ${WPDESK_CI_VERSION}
-
ls -l
-
/app/vendor/bin/apigen generate
-
php /app/hooks-docs.php ${CI_PROJECT_DIR}
only
:
only
:
-
tags
-
tags
apigen docs refresh
:
<<
:
*docs-generation
when
:
manual
pages
:
pages
:
stage
:
deploy
stage
:
deploy
dependencies
:
dependencies
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment