Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Doc fr CIDOC CRM
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
Container Registry
Model registry
Operate
Environments
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
GT-CIDOC-CRM
GT-traduction-CIDOC-CRM-FR
Doc fr CIDOC CRM
Commits
aa3ba1ae
Commit
aa3ba1ae
authored
1 month ago
by
Bertrand DAVID-JACQUOT
Browse files
Options
Downloads
Patches
Plain Diff
feat: .gitlab-ci.yml, renom job_show -> pages, mv direct ds public/,
#5
parent
c6ef1115
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#51333
failed
1 month ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-9
8 additions, 9 deletions
.gitlab-ci.yml
with
8 additions
and
9 deletions
.gitlab-ci.yml
+
8
−
9
View file @
aa3ba1ae
...
...
@@ -6,7 +6,7 @@ create_htmls:
image
:
name
:
pandoc/core
# image docker spécifique à pandoc (ni alpine ni ubuntu serveur n'ont pandoc dans leur dépôt)
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
artifacts
:
# récupération des fichiers issu
e
du build pour le déployer au 'stage' deploy
artifacts
:
# récupération des fichiers issu
s
du build pour le
s
déployer au 'stage' deploy
name
:
"
$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
paths
:
-
./*.html
...
...
@@ -55,22 +55,21 @@ create_htmls:
# suppression des fichiers intermédiaires
-
rm *-summary.html
job_show
:
pages
:
#tags: # perment d'utiliser le runner shell
# - shell
# - arar
stage
:
deploy
when
:
manual
script
:
# avant de copier dedans… il faut les créer… au moins la 1ère fois
-
mkdir -p public/
cidoc-crm-fr/
assets/icons/
-
mkdir -p public/assets/icons/
# ajoute les fichiers d'assets (CSS, JS… icons svg)
-
mv assets/*.css public/
cidoc-crm-fr/
assets/
-
mv assets/*.js public/
cidoc-crm-fr/
assets/
-
mv assets/icons/*.svg public/
cidoc-crm-fr/
assets/icons/
-
mv assets/*.css public/assets/
-
mv assets/*.js public/assets/
-
mv assets/icons/*.svg public/assets/icons/
# màj du .htaccess avec la ré-écriture d'URL
-
mv utils/.htaccess public/
cidoc-crm-fr/
#
- mv utils/.htaccess public/
# déplace les fichiers html dans le répertoire de "production"
-
mv index.html home.html le-projet-de-traduction.html comment-participer.html introduction.html credits.html mentions-legales.html contact.html public/
cidoc-crm-fr/
-
mv index.html home.html le-projet-de-traduction.html comment-participer.html introduction.html credits.html mentions-legales.html contact.html public/
# rm sidebar.html
pages
:
true
\ No newline at end of file
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