Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IIIF Publisher
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
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
IIIF
IIIF Publisher
Commits
22ef2153
Commit
22ef2153
authored
2 years ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
update script
parent
219a368a
No related branches found
No related tags found
No related merge requests found
Pipeline
#1344
failed
2 years ago
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
updateFileList.sh
+7
-4
7 additions, 4 deletions
updateFileList.sh
with
7 additions
and
4 deletions
updateFileList.sh
+
7
−
4
View file @
22ef2153
...
@@ -2,10 +2,13 @@
...
@@ -2,10 +2,13 @@
VIEWER_URL
=
https://projectmirador.org/embed/?iiif-content
=
VIEWER_URL
=
https://projectmirador.org/embed/?iiif-content
=
DEFAULT_PUBLISHER
=
https://iiif.pages.tetras-libre.fr/IIIF-Publisher/
DEFAULT_PUBLISHER
=
http:localhost:8000/
ROOT_DIR
=
docs
ROOT_DIR
=
docs
MANIFEST_DIR
=
manifests
MANIFEST_DIR
=
manifests
MANIFEST_FILE
=
manifest.md
MANIFEST_FILE
=
manifest.md
DEFAULT_PUBLISHER
=
https://iiif.pages.tetras-libre.fr/IIIF-Publisher/
if
[
-z
${
CI_PAGES_URL
+x
}
]
;
then
if
[
-z
${
CI_PAGES_URL
+x
}
]
;
then
PUBLISHER
=
$DEFAULT_PUBLISHER
PUBLISHER
=
$DEFAULT_PUBLISHER
else
else
...
@@ -20,8 +23,8 @@ fi
...
@@ -20,8 +23,8 @@ fi
walk_through_manifest
(){
walk_through_manifest
(){
cd
$1
cd
$1
echo
"P1
$1
/ P2
$2
/ path
$(
pwd
)
"
#
echo "P1 $1 / P2 $2 / path $(pwd)"
echo
" "
#
echo " "
echo
"Manifests availables :"
>
$MANIFEST_FILE
echo
"Manifests availables :"
>
$MANIFEST_FILE
echo
" "
>>
$MANIFEST_FILE
echo
" "
>>
$MANIFEST_FILE
...
@@ -30,7 +33,7 @@ walk_through_manifest(){
...
@@ -30,7 +33,7 @@ walk_through_manifest(){
echo
"- [..](
$PUBLISHER$2manifest
)"
>>
$MANIFEST_FILE
echo
"- [..](
$PUBLISHER$2manifest
)"
>>
$MANIFEST_FILE
fi
fi
for
d
in
$(
ls
-d
*
/
)
;
for
d
in
$(
ls
-d
*
/
2>/dev/null
)
;
do
do
echo
"- [
$d
](
$d
/
$MANIFEST_FILE
)"
>>
$MANIFEST_FILE
echo
"- [
$d
](
$d
/
$MANIFEST_FILE
)"
>>
$MANIFEST_FILE
walk_through_manifest
$d
$2$1
walk_through_manifest
$d
$2$1
...
...
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