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