Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UGA Open Research Data Monitor backend
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
Elias Chetouane
UGA Open Research Data Monitor backend
Commits
5c336f68
Commit
5c336f68
authored
1 year ago
by
Elias Chetouane
Browse files
Options
Downloads
Patches
Plain Diff
Réglage du cd pour permettre le cp.
parent
f8b95dfa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
5c336f68
...
...
@@ -30,8 +30,9 @@ actualisation_dois:
-
git push origin HEAD:${CI_COMMIT_REF_NAME}
# création d'un espace accueillant le clone du repo du site web, et tests au cas où l'espace existe déjà
-
if ! [ -d "../cloned_repo" ]; then mkdir ../cloned_repo; fi
-
if [ -d "../cloned_repo/${PATH_TO_PUSH}" ]; then cd ../cloned_repo/${PATH_TO_PUSH}; git pull; else cd ../cloned_repo; git clone ${LINK_TO_CLONE}; fi
-
cd ..
-
if ! [ -d "cloned_repo" ]; then mkdir ../cloned_repo; fi
-
if [ -d "cloned_repo/${PATH_TO_PUSH}" ]; then cd cloned_repo/${PATH_TO_PUSH}; git pull; else cd cloned_repo; git clone ${LINK_TO_CLONE}; fi
-
cd -
# copier le fichier "nb-dois.txt" pour commit dans le repo du site web
-
cp open-research-data-monitor-back/1-enrich-with-datacite/nb-dois.txt cloned_repo/${PATH_TO_PUSH}
...
...
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