-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 965 Bytes
/
capture_charts.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
name: Capture new charts
on:
push:
branches:
- master
paths:
- 'data/**.json'
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout current repository
uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Install dependencies
run: yarn
- name: Capture and extract all charts images
run: |
cd webshooter
node captureAllCharts.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
base: master
branch: charts-captures
commit-message: 'feat(captures): update charts captures'
committer: Javier López <javierlopez@uc.cl>
title: Update Charts Captures
body: Data was updated, therefore, we update all charts captures.
author: Javier López <javierlopez@uc.cl>