Verified Commit ef8d38b6 authored by Mike Jones's avatar Mike Jones

Test deploy

parent 49ddef49
Pipeline #164 failed with stages
in 40 seconds
......@@ -7,6 +7,7 @@ before_script:
- apk update
- apk upgrade
- apk add yarn
- apk add openssh-client
stages:
- generate
......@@ -23,8 +24,12 @@ generate:
deploy:
stage: deploy
script:
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- cd themes/netsplit
- yarn install
- cd ../..
- hugo
- ls -la public
- scp -r public $OUTPUT_LOCATION
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