mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 08:06:52 +02:00
Fix deploy docs after branch rename
This commit is contained in:
parent
fa951a8e95
commit
8d62578846
@ -69,7 +69,7 @@ steps:
|
||||
- chmod 0600 $HOME/.ssh/id_rsa
|
||||
- git config --global user.email "woodpecker-bot@obermui.de"
|
||||
- git config --global user.name "woodpecker-bot"
|
||||
- git clone -b ${CI_REPO_DEFAULT_BRANCH} --single-branch git@github.com:woodpecker-ci/woodpecker-ci.github.io.git /repo
|
||||
- git clone --depth 1 --single-branch git@github.com:woodpecker-ci/woodpecker-ci.github.io.git /repo
|
||||
# copy all docs files and delete all old ones, but leave CNAME and index.yaml untouched
|
||||
- rsync -r --exclude .git --exclude CNAME --exclude index.yaml --exclude README.md --delete docs/build/ /repo
|
||||
- cd /repo
|
||||
|
Loading…
Reference in New Issue
Block a user