diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b897a870660856353e59068363830c9287b33337..77ec0d2f18f2bae273572108302ba6ac2350f0c1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,24 +2,25 @@ image: python:3.9-buster before_script: - pip install -r requirements.txt - - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' + # - 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )' ## ## Run ssh-agent (inside the build environment) ## - - eval $(ssh-agent -s) + # - eval $(ssh-agent -s) ## ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store ## We're using tr to fix line endings which makes ed25519 keys work ## without extra base64 encoding. ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556 ## - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - + # - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + - echo "$client_secret" > src/unlearn/client_secret.txt + - cat src/unlearn/client_secret.txt ## ## Create the SSH directory and give it the right permissions ## - - mkdir -p ~/.ssh - - chmod 700 ~/.ssh + # - mkdir -p ~/.ssh + # - chmod 700 ~/.ssh pages: stage: deploy