🔑 SSH keyscan
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sivert V. Sæther 2023-02-06 05:17:10 +00:00
parent 59fad6234f
commit 7aab3c6020

View File

@ -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!~'