Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • 713/mentat/mentat-test-3
1 result
Show changes
Commits on Source (2)
......@@ -99,22 +99,21 @@ twine-job:
changes:
- lib/mentat/__init__.py
.pages:
pages:
stage: deploy
script:
- make docs # Create documentation
- curl -kL --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/devel/download?job=pages" -o devel.zip # Download docs and files from devel branch
- curl -kL --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/master/download?job=pages" -o master.zip # Download docs and files from master branch
- curl -kL --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/release/download?job=pages" -o release.zip # Download docs and files from release branch
- unzip -o '*.zip' || true # Unzip and ignore not existing zipfiles
- mkdir -p public/"$CI_COMMIT_BRANCH" # Create directory for docs if it doesn't exist
- mkdir -p public/"$CI_COMMIT_BRANCH"/files # Create directory for files if it doesn't exist
- cp -rf doc/sphinx/_build/html public/"$CI_COMMIT_BRANCH" # Copy docs to shared folder
#- cp -rf dist/* public/"$CI_COMMIT_BRANCH"/files/. # Copy files to shared folder
- 'if [ ! -z ${BACKUP_ZIPFILE_URL+x} ]; then curl "$BACKUP_ZIPFILE_URL" --output backup.zip; unzip -o backup.zip; fi'
- cd public/"$CI_COMMIT_BRANCH"/files
- echo "<html><body><h1>Directory listing:</h1>" > ./index.html # Create directory listing
- find -exec echo "<a href='{}'>{}</a><br/>" \; | sort >> ./index.html
- echo "</body></html>" >> ./index.html
#- cd public/"$CI_COMMIT_BRANCH"/files
#- echo "<html><body><h1>Directory listing:</h1>" > ./index.html # Create directory listing
#- find -exec echo "<a href='{}'>{}</a><br/>" \; | sort >> ./index.html
#- echo "</body></html>" >> ./index.html
artifacts:
name: "$CI_COMMIT_BRANCH"
paths:
......
......@@ -20,4 +20,4 @@ open-source project.
__author__ = "Jan Mach <jan.mach@cesnet.cz>"
__credits__ = "Pavel Kácha <pavel.kacha@cesnet.cz>, Andrea Kropáčová <andrea.kropacova@cesnet.cz>"
__version__ = "2.10.134"
__version__ = "2.10.135"