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: ...@@ -7,6 +7,7 @@ before_script:
- apk update - apk update
- apk upgrade - apk upgrade
- apk add yarn - apk add yarn
- apk add openssh-client
stages: stages:
- generate - generate
...@@ -23,8 +24,12 @@ generate: ...@@ -23,8 +24,12 @@ generate:
deploy: deploy:
stage: deploy stage: deploy
script: 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 - cd themes/netsplit
- yarn install - yarn install
- cd ../.. - cd ../..
- hugo - 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