update CI config
This commit is contained in:
parent
9a663f4260
commit
01efeab13f
@ -5,6 +5,10 @@ steps:
|
|||||||
- git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);'
|
- git submodule foreach 'git fetch origin; git checkout $(git describe --tags `git rev-list --tags --max-count=1`);'
|
||||||
- cd docs
|
- cd docs
|
||||||
- hugo
|
- hugo
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: master
|
||||||
|
path: "docs/*"
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
image: codingkoopa/git-rsync-openssh
|
image: codingkoopa/git-rsync-openssh
|
||||||
@ -23,7 +27,7 @@ steps:
|
|||||||
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go
|
- rsync -atv --delete --progress vangen/ backy@backy.cybershell.xyz:vangen-go
|
||||||
secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ]
|
secrets: [ ssh_host_key, ssh_deploy_key, ssh_passphrase ]
|
||||||
|
|
||||||
# when:
|
when:
|
||||||
# - event: push
|
- event: push
|
||||||
# branch: master
|
branch: master
|
||||||
# path: "docs/*"
|
path: "docs/*"
|
Loading…
Reference in New Issue
Block a user