forked from netdata/learn
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 945 Bytes
/
ingest.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
name: Ingest
on:
workflow_dispatch:
schedule:
- cron: '0 14 * * *'
jobs:
ingest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Use Node.js 12
uses: actions/[email protected]
with:
node-version: 12
- run: yarn install
- run: node ingest.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Ingest new documentation
title: 'Ingest New Documentation'
body: |
- Ingest new documentation
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request:
branch: ingest
labels: ingest, automation
# reviewers: