Merge pull request 'typo' (#1) from typo into master
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #1
This commit is contained in:
commit
c78b79e2b2
1 changed files with 2 additions and 4 deletions
|
@ -8,11 +8,10 @@ steps:
|
|||
commands:
|
||||
- mdl .
|
||||
|
||||
- name: pbuild pelican
|
||||
- name: build pelican
|
||||
image: apihackers/pelican
|
||||
commands:
|
||||
- pelican content -o output -s pelicanconf.py
|
||||
- ls output
|
||||
|
||||
- name: deploy staging
|
||||
image: kroniak/ssh-client
|
||||
|
@ -27,9 +26,8 @@ steps:
|
|||
- echo "deploy $DEPLOY_USER@$DEPLOY_HOST"
|
||||
- echo "$DEPLOY_KEY" | sed 's/!/\n/g' > deploy_key
|
||||
- chmod 0600 deploy_key
|
||||
- cat deploy_key
|
||||
- ssh -i deploy_key -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_HOST rm -Rf /srv/http/blog-lan/output/
|
||||
- scp -i deploy_key -o StrictHostKeyChecking=no output/* $DEPLOY_USER@$DEPLOY_HOST:/srv/http/blog-lan/output/
|
||||
- scp -r -i deploy_key -o StrictHostKeyChecking=no output $DEPLOY_USER@$DEPLOY_HOST:/srv/http/blog-lan/
|
||||
when:
|
||||
branch:
|
||||
exclude:
|
||||
|
|
Loading…
Reference in a new issue