add ssh settings to git push
This commit is contained in:
parent
b8b728bd7d
commit
59ccae9d2f
|
@ -14,10 +14,15 @@ steps:
|
|||
- pip install ./dist/bstools*.whl
|
||||
- cd ../
|
||||
- python -m bstools fetch-mentions --mentions-file ./brainsteam/data/mentions.json
|
||||
- (git commit -a -m "Updating latest webmentions" && git push) || exit 0
|
||||
- git remote add origin ssh://git@git.jamesravey.me:222/ravenscroftj/brainsteam.co.uk.git
|
||||
- echo "$SSH_KEY" > $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
|
||||
environment:
|
||||
WEBMENTIONSIO_API_KEY:
|
||||
from_secret: WEBMENTIONSIO_API_KEY
|
||||
SSH_KEY:
|
||||
from_secret:gitea_ssh_key
|
||||
|
||||
# - name: store_webmentions
|
||||
# image: appleboy/drone-git-push
|
||||
|
|
Loading…
Reference in New Issue