Files
DefiLlama-Adapters/.github/workflows/alert.yml
2021-12-20 02:56:45 +00:00

16 lines
486 B
YAML

name: Alert
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: curl https://born-to-llama.herokuapp.com/refresh
- name: Deploy
run: |
curl -XPOST -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" -H "Authorization: Bearer ${{ secrets.PAT }}" https://api.github.com/repos/DefiLlama/defillama-server/dispatches --data '{"event_type": "build"}'