Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Specification Tools
Scripts
Commits
f63e596e
Commit
f63e596e
authored
1 year ago
by
Miguel Angel Reina Ortega
Browse files
Options
Downloads
Patches
Plain Diff
Small typo
parent
1817afcc
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
generateChangemarks/.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
generateChangemarks/.gitlab-ci.yml
publish_on_pages.sh
+5
-4
5 additions, 4 deletions
publish_on_pages.sh
with
6 additions
and
5 deletions
generateChangemarks/.gitlab-ci.yml
+
1
−
1
View file @
f63e596e
...
@@ -114,7 +114,7 @@ pages:
...
@@ -114,7 +114,7 @@ pages:
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/stylesheets/extra%2Ecss/raw?ref=toMkdocs" >> extra.css
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/stylesheets/extra%2Ecss/raw?ref=toMkdocs" >> extra.css
-
mkdir -p docs/stylesheets && mv extra.css docs/stylesheets/
-
mkdir -p docs/stylesheets && mv extra.css docs/stylesheets/
-
|
-
|
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/
m
kdocs%2Fmkdocs%2Eyml/raw?ref=toMkdocs" >> mkdocs.yml
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/
toM
kdocs%2Fmkdocs%2Eyml/raw?ref=toMkdocs" >> mkdocs.yml
-
|
-
|
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/toMkdocs%2FtoMkdocs%2Epy/raw?ref=toMkdocs" >> toMkdocs.py
curl "${CI_API_V4_URL}/projects/$TOOLS_SCRIPTS_PROJECT_ID/repository/files/toMkdocs%2FtoMkdocs%2Epy/raw?ref=toMkdocs" >> toMkdocs.py
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
publish_on_pages.sh
+
5
−
4
View file @
f63e596e
...
@@ -71,11 +71,12 @@ ls
...
@@ -71,11 +71,12 @@ ls
mv
$3
/ docs/
mv
$3
/ docs/
cat
_nav.yml
>>
mkdocs.yml
cat
_nav.yml
>>
mkdocs.yml
echo
"------
Move to docs folder
--------"
echo
"------
Generating site
--------"
docker run
--rm
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$(
pwd
)
:/tmp
-w
/tmp
"
$MIKE_DOCKER_IMAGE
"
mike deploy
-u
$4
latest
docker run
--rm
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$(
pwd
)
:/tmp
-w
/tmp
"
$MIKE_DOCKER_IMAGE
"
/bin/sh
-c
'git config user.name ci-bot && git config user.email ci-bot@example.com &&
mike deploy -u $4 latest
'
docker run
--rm
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$(
pwd
)
:/tmp
-w
/tmp
"
$IKE_DOCKER_IMAGE
"
mike set-default latest
docker run
--rm
-u
$(
id
-u
)
:
$(
id
-g
)
-v
$(
pwd
)
:/tmp
-w
/tmp
"
$
M
IKE_DOCKER_IMAGE
"
/bin/sh
-c
'git config user.name ci-bot && git config user.email ci-bot@example.com &&
mike set-default latest
'
mv
site/ public/
echo
"------ Move to output to public folder --------"
mv
site/
*
public/
###########################
###########################
...
...
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