refactor: api client

This commit is contained in:
Ax333l
2022-11-11 11:30:52 +01:00
parent 10812aef27
commit ad08371ed7
10 changed files with 111 additions and 147 deletions

View File

@@ -1,13 +0,0 @@
name: refresh
on:
schedule:
- cron: '0 */2 * * *'
workflow_dispatch:
jobs:
cron:
runs-on: ubuntu-latest
environment: production
steps:
- name: Refresh the site prerender with the latest API data
run: |
curl -X POST '${{ secrets.DEPLOY_HOOK }}'