mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
slight changes to deploy
This commit is contained in:
parent
b21dece3ce
commit
2822df489d
1 changed files with 4 additions and 3 deletions
|
@ -40,9 +40,10 @@ deploy-job: # This job runs in the deploy stage.
|
||||||
before_script:
|
before_script:
|
||||||
- echo "Installing the dependencies..."
|
- echo "Installing the dependencies..."
|
||||||
- apk add rsync openssh-client
|
- apk add rsync openssh-client
|
||||||
- eval $(ssh-agent -s)
|
|
||||||
- echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
|
- eval $(ssh-agent -s)
|
||||||
|
- echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||||
|
- ssh-add -l
|
||||||
script:
|
script:
|
||||||
- rsync -ciIlprz out/* deploy@devurandom.xyz:~/out/
|
- rsync -ciIlprz out/ deploy@devurandom.xyz:~/out/
|
||||||
|
|
Loading…
Add table
Reference in a new issue