add webmention pull to drone
continuous-integration/drone/push Build is failing Details

This commit is contained in:
James Ravenscroft 2022-01-02 16:39:36 +00:00
parent 05a43bbf83
commit 853fd39d42
1 changed files with 20 additions and 0 deletions

View File

@ -2,6 +2,26 @@ kind: pipeline
name: update_website name: update_website
steps: steps:
- name: fetch_webmentions
image: python:3.7
when:
branch:
- main
commands:
- pip install poetry
- cd bstools && poetry install && cd ../
- python bstools/bstools.py fetch-mentions --mentions-file ./brainsteam/data/mentions.json
- name: store_webmentions
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: main
local_ref: main
commit: true
commit_message: Commit latest webmentions
author_name: DroneCI
- name: hugo_build - name: hugo_build
image: alombarte/hugo image: alombarte/hugo
when: when: