attempting a test push to prod server
This commit is contained in:
parent
356cb7f8e9
commit
426a3fed88
@ -1,10 +1,14 @@
|
|||||||
image: shockrah/website:1.1
|
image: shockrah/website:1.1
|
||||||
|
|
||||||
variables:
|
before_script:
|
||||||
SSH_PASS: $VPS_PASS
|
- eval $(ssh-agent -s)
|
||||||
|
- echo $SSH_PRIVATE_KEY | tr -d '\r' | ssh-add - > /dev/null
|
||||||
|
- mkdir -p ~/.ssh/
|
||||||
|
- chmod 700 ~/.ssh/
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- bash ./build.sh
|
- bash ./build.sh
|
||||||
- ls -R .mirror
|
- echo the next item will fail
|
||||||
|
- scp -o StrictHostKeyChecking=no -r ./$MIRROR/ root@shockrah.xyz:/var/wwww/website
|
||||||
|
Loading…
Reference in New Issue
Block a user