add ssh settings to git push
continuous-integration/drone/push Build is failing Details

This commit is contained in:
James Ravenscroft 2022-08-07 09:59:39 +01:00
parent e2e99f0159
commit a47d479399
1 changed files with 0 additions and 1 deletions

View File

@ -14,7 +14,6 @@ steps:
- pip install ./dist/bstools*.whl - pip install ./dist/bstools*.whl
- cd ../ - cd ../
- python -m bstools fetch-mentions --mentions-file ./brainsteam/data/mentions.json - python -m bstools fetch-mentions --mentions-file ./brainsteam/data/mentions.json
- git remote add origin ssh://git@git.jamesravey.me:222/ravenscroftj/brainsteam.co.uk.git
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa - echo "$SSH_KEY" > $HOME/.ssh/id_rsa
- chmod 600 $HOME/.ssh/id_rsa - chmod 600 $HOME/.ssh/id_rsa
- (git commit -a -m "Updating latest webmentions" && git push --set-upstream origin main) || exit 0 - (git commit -a -m "Updating latest webmentions" && git push --set-upstream origin main) || exit 0