Skip to content

Commit

Permalink
trigger curl workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Aug 16, 2022
1 parent cdc6727 commit 9501485
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/cron-system-info-updater-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Cron System Info Updater Workflow

on:
schedule:
- cron: '* * * * *'

jobs:
cron-system-info-updater:
name: 'Cron System Info Updater'
runs-on: ubuntu-latest
steps:
- name: Run System Info Updater Endpoint
run: |
curl -H "Origin: https://opentemplatehub.com" -H "Authorization: Bearer ${{ secrets.ADMIN_AUTH_TOKEN }}" https://oth-server-orchestra-live.herokuapp.com/analytics/system-info/update?key=npm-downloads

0 comments on commit 9501485

Please sign in to comment.