Commit 981db449 authored by root's avatar root
Browse files

Update .gitlab.yml to push updates with SSH

parent be747350
Pipeline #99401 passed with stage
in 13 seconds
image: cypress/base:14
image: alpine:latest
- master
- apk add --update openssh-client bash
- eval $(ssh-agent -s)
- bash -c 'ssh-add <(echo "$DEPLOY_PRIVKEY")'
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- cd automation
- yarn install --cache-folder .yarn
- yarn run cypress run --spec "cypress/integration/deploy.spec.js" --env username=$DEPLOY_USERNAME,password=$DEPLOY_PASSWORD
\ No newline at end of file
- ssh 'cd /home/thealt-website/website; git pull'
Supports Markdown
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