Skip to content
Snippets Groups Projects
Commit 8d999814 authored by Jake's avatar Jake
Browse files

Update .gitlab-ci.yml file

parent fb7763fc
No related branches found
No related tags found
No related merge requests found
Pipeline #318838 passed
......@@ -19,7 +19,7 @@ site:
- apt-get update && apt-get install -y --no-install-recommends python3-pip python3 make git wget software-properties-common
- wget -O pandoc.deb https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb && dpkg -i pandoc.deb && rm --interactive=never pandoc.deb
- pip3 install -r requirements.txt
- echo "CHECKOUT_BRANCH: $CHECKOUT_BRANCH UPSTREAM_BRANCH: $UPSTREAM_BRANCH"
- "echo \"CHECKOUT_BRANCH: $CHECKOUT_BRANCH UPSTREAM_BRANCH: $UPSTREAM_BRANCH\""
- git clone https://gitlab.gwdg.de/GAUMI-fginfo/fg-website-data.git content --branch $CHECKOUT_BRANCH
script:
- make publish
......@@ -63,7 +63,7 @@ deploy:
stage: deploy
needs: [ "site" ]
before_script:
- echo "CHECKOUT_BRANCH: $CHECKOUT_BRANCH UPSTREAM_BRANCH: $UPSTREAM_BRANCH"
- "echo \"CHECKOUT_BRANCH: $CHECKOUT_BRANCH UPSTREAM_BRANCH: $UPSTREAM_BRANCH\""
# see https://filipsjanis.com/articles/scp-upload-files-gitlab-ci.html
# the following script is taken from https://docs.gitlab.com/ee/ci/ssh_keys/README.html
- 'DEBIAN_FRONTEND=noninteractive apt-get update -y'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment