mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 14:10:12 +01:00
inject ssh key during publish
This commit is contained in:
parent
76fdabfe6d
commit
79bf0bda56
1 changed files with 6 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ workflows:
|
||||||
- linting
|
- linting
|
||||||
filters:
|
filters:
|
||||||
branches:
|
branches:
|
||||||
ignore: /.*/
|
only: /master/
|
||||||
|
# ignore: /.*/
|
||||||
tags:
|
tags:
|
||||||
only: /^v[0-9]+(\.[0-9]+)*$/
|
only: /^v[0-9]+(\.[0-9]+)*$/
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -228,8 +229,12 @@ jobs:
|
||||||
mkdocs \
|
mkdocs \
|
||||||
mkdocs-material \
|
mkdocs-material \
|
||||||
md-toc
|
md-toc
|
||||||
|
- add_ssh_keys:
|
||||||
|
fingerprints:
|
||||||
|
- "89:6c:8d:6a:c2:7d:68:d6:4e:e3:4d:ca:00:f2:c2:59"
|
||||||
- run:
|
- run:
|
||||||
name: Generate and publish
|
name: Generate and publish
|
||||||
command: |
|
command: |
|
||||||
|
mkdir ~/.ssh && touch ~/.ssh/known_hosts;
|
||||||
ssh-keyscan -H github.com >> ~/.ssh/known_hosts && \
|
ssh-keyscan -H github.com >> ~/.ssh/known_hosts && \
|
||||||
mkdocs gh-deploy
|
mkdocs gh-deploy
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue