add webmention pull to drone
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
05a43bbf83
commit
853fd39d42
20
.drone.yml
20
.drone.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue