Skip to content

Jellycat Check

Jellycat Check #4152

name: Jellycat Check
on:
schedule:
- cron: "0/12 * * * *"
push:
branches: [master]
jobs:
check:
name: Check jellycat availability
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
env:
cache-name: cache-jellycat
with:
path: ~/jellycat
key: jellycat
- name: Check version
id: check
run: bash .github/scripts/check_jellycat.sh amuseable-bouquet-of-flowers-a2bfl
- name: Send notification
uses: cinotify/github-action@main
if: ${{ steps.check.outputs.HAS_EMAIL == 1 }}
with:
to: ${{ secrets.JELLYCAT_EMAIL1 }}
subject: ${{ steps.check.outputs.EMAIL_TITLE }}
body: ${{ steps.check.outputs.EMAIL_BODY }}
- name: Send notification
uses: cinotify/github-action@main
if: ${{ steps.check.outputs.HAS_EMAIL == 1 }}
with:
to: ${{ secrets.JELLYCAT_EMAIL2 }}
subject: ${{ steps.check.outputs.EMAIL_TITLE }}
body: ${{ steps.check.outputs.EMAIL_BODY }}