This commit is contained in:
parent
e0f0deeb6e
commit
51ef4d7824
10
.drone.yml
10
.drone.yml
@ -10,11 +10,11 @@ steps:
|
|||||||
KEY:
|
KEY:
|
||||||
from_secret: key
|
from_secret: key
|
||||||
commands:
|
commands:
|
||||||
- echo "$KEY" > ~/.ssh/id_rsa
|
- echo "$KEY" > ~/.ssh/id_rsa
|
||||||
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
- hugo -e prod --printI18nWarnings --printPathWarnings --printUnusedTemplates --templateMetricsHints
|
||||||
- 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!~'
|
||||||
|
|
||||||
image_pull_secrets:
|
image_pull_secrets:
|
||||||
- registry
|
- registry
|
||||||
|
Loading…
Reference in New Issue
Block a user