This commit is contained in:
parent
59fad6234f
commit
7aab3c6020
@ -12,6 +12,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- mkdir ~/.ssh && echo "$KEY" > ~/.ssh/id_rsa && chmod 600 -R ~/.ssh
|
- mkdir ~/.ssh && echo "$KEY" > ~/.ssh/id_rsa && chmod 600 -R ~/.ssh
|
||||||
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
||||||
|
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
|
||||||
- git clone --branch gh-pages git@github.com:Ghost-Zephyr/Ghost-Zephyr.github.io.git github
|
- git clone --branch gh-pages git@github.com:Ghost-Zephyr/Ghost-Zephyr.github.io.git github
|
||||||
- cp -r public/* github/
|
- cp -r public/* github/
|
||||||
- cd github/ && git add -A && git commit -m 'Drone CI!~'
|
- cd github/ && git add -A && git commit -m 'Drone CI!~'
|
||||||
|
Loading…
Reference in New Issue
Block a user