forked from newrelic/docs-website
-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (26 loc) · 875 Bytes
/
Copy pathsync-data-dictionary.yml
File metadata and controls
30 lines (26 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Sync data dictionary
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # start of every day
jobs:
sync-staging:
runs-on: ubuntu-latest
container: curlimages/curl:latest
steps:
- run: |
curl -X POST -H "X-Auth-Key: ${{ secrets.SYNC_AUTH_KEY }}" -s -S -f https://data-dictionary.staging-service.newrelic.com/sync
sync-prod:
runs-on: ubuntu-latest
container: curlimages/curl:latest
needs: sync-staging
steps:
- run: |
curl -X POST -H "X-Auth-Key: ${{ secrets.SYNC_AUTH_KEY }}" -s -S -f https://data-dictionary.service.newrelic.com/sync
sync-eu:
runs-on: ubuntu-latest
container: curlimages/curl:latest
needs: sync-staging
steps:
- run: |
curl -X POST -H "X-Auth-Key: ${{ secrets.SYNC_AUTH_KEY }}" -s -S -f https://data-dictionary.service.eu.newrelic.com/sync