add ssh settings to git push
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
da05192709
commit
25f553f02c
31
.drone.yml
31
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue