add webmention step to build

This commit is contained in:
James Ravenscroft 2021-12-25 11:09:34 +00:00
parent 97c2d7e6d0
commit 0a9ceccc84
1 changed files with 8 additions and 1 deletions

View File

@ -47,4 +47,11 @@ steps:
- apk add lftp
# - cd brainsteam
# - lftp -e "mirror -R ./public /" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOSTNAME
- sh sync.sh
- sh sync.sh
- name: webmention_check
image: 3apaxicom/npx
when:
branch:
- main
commands:
- npx webmention https://brainsteam.co.uk/index.xml --limit 1 --send