send webmentions via webmention.app command line

This commit is contained in:
Marvin Steadfast 2020-03-12 16:57:23 +01:00
parent 6192941cdb
commit b27fad7645

View File

@ -13,7 +13,7 @@ steps:
WEBMENTIONIO_TOKEN: WEBMENTIONIO_TOKEN:
from_secret: webmentionio_token from_secret: webmentionio_token
commands: commands:
- apk add --no-cache curl make - apk add --no-cache curl make git npm
- mkdir -p ~/.config/rclone - mkdir -p ~/.config/rclone
- make rclone_config - make rclone_config
- cat ~/.config/rclone/rclone.conf - cat ~/.config/rclone/rclone.conf
@ -23,6 +23,8 @@ steps:
- cat data/mentions.json - cat data/mentions.json
- make build - make build
- make ftp_upload - make ftp_upload
- npm install @remy/webmention
- npx webmention https://xsteadfastx.org/index.xml --limit 10 --send
when: when:
branch: branch:
- master - master