Skip to content

Add Turing to payouts #83

Add Turing to payouts

Add Turing to payouts #83

name: Make astar payouts
on:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 0 * * MON"
env:
PAYOUTS_ACCOUNT_MNEMONIC: ${{ secrets.PAYOUTS_ACCOUNT_MNEMONIC }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: Run app
run: yarn start:astar
telegram-notification:
needs: [build]
runs-on: ubuntu-latest
if: failure()
steps:
- name: Notify Telegram channel
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
message: |
💸 Astar payout failed, see logs for details:
Github run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}