Commit 6d6bbc93 authored by Maximilian Sprengholz's avatar Maximilian Sprengholz 😵
Browse files

pages test

parent d1fd34ca
Pipeline #14833 failed with stages
in 28 seconds
......@@ -14,7 +14,8 @@ image: kenose/pandoc-python:latest
before_script:
- export DATE=$(date '+%y-%m-%d')
pages:
gen_docs:
stage: build
script:
- cd docs
- >-
......@@ -24,17 +25,25 @@ pages:
- pandoc --filter pandoc-include --filter pandoc-crossref --citeproc --bibliography=dep/appendix.bib --csl=dep/journal-of-family-research.csl --number-sections --table-of-contents -c dep/empty.css -H dep/vue_extended_h.css appendix.md -H dep/lightbox.js -s -o appendix.html
- cp appendix.html index.html
- python3 dep/regexrep.py 'index.html' '../results/figures' 'figures' # fix links for pages (though usually no problem with base64 encoded .svg)
- python3 dep/regexrep.py 'index.html' 'PEANUTS' 'regex prob?' # fix links for pages (though usually no problem with base64 encoded .svg)
- mv index.html ../public/
- cd ../
- git config --global user.name "${GITLAB_USER_NAME}"
- git config --global user.email "${GITLAB_USER_EMAIL}"
- git add docs/appendix.md
- git add docs/appendix.html
- git add docs/index.html
- git add public/index.html
- git commit -m "[ci skip] Built docs ${CI_COMMIT_TAG}" || echo "Nothing to commit."
- git pull --rebase http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
- git push http://${GITLAB_USER_LOGIN}:${TOKEN}@scm.cms.hu-berlin.de/${CI_PROJECT_PATH} HEAD:${CI_COMMIT_REF_NAME}
- cd docs
- mv index.html ../public/ # copy index to update
only:
- master
pages:
stage: deploy
script:
- cp -R -f results/figures/ public/ # copy figures
- mv -f public/index.html public/ # copy index to update
artifacts:
paths:
- public
......
......@@ -26,6 +26,8 @@ subfigureRefIndexTemplate: $$i$$$$suf$$$$s$$
---
PEANUTS
## Setting
This paper draws on data from the Microcensus Scientific Use Files (DOI: [10.21242/12211.1976.00.00.3.1.0](https://doi.org/10.21242/12211.1976.00.00.3.1.0) to [10.21242/12211.2015.00.00.3.1.0](https://doi.org/10.21242/12211.2015.00.00.3.1.0)) to provide a long-term overview of the labor market performance of different arrival cohorts of female and male migrants to Germany. Whereas there is a large body of research on the labor market outcomes of migrants to Germany, a more descriptive long-term and gender-specific overview is missing. We provide descriptive analyses for the employment rates, working hours, and occupational status levels of different arrival cohorts by gender, calendar year, and duration of stay. The data cover the time period 1976-2015.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment