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:00:13 +01:00
parent da05192709
commit 25f553f02c
1 changed files with 16 additions and 15 deletions

View File

@ -14,25 +14,26 @@ 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 commit -a -m "Updating latest webmentions"
- git push
environment: environment:
WEBMENTIONSIO_API_KEY: WEBMENTIONSIO_API_KEY:
from_secret: WEBMENTIONSIO_API_KEY from_secret: WEBMENTIONSIO_API_KEY
- name: store_webmentions # - name: store_webmentions
image: appleboy/drone-git-push # image: appleboy/drone-git-push
when: # when:
branch: # branch:
- main # - main
settings: # settings:
remote_name: origin # remote_name: origin
branch: main # branch: main
remote: git@git.jamesravey.me:222/ravenscroftj/brainsteam.co.uk.git # local_ref: main
local_ref: main # commit: true
commit: true # commit_message: Commit latest webmentions
commit_message: Commit latest webmentions # author_name: DroneCI
author_name: DroneCI # ssh_key:
ssh_key: # from_secret: gitea_ssh_key
from_secret: gitea_ssh_key
- name: hugo_build - name: hugo_build
image: alombarte/hugo image: alombarte/hugo