File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Actualizar lista de apuntes
2
+ on :
3
+ schedule :
4
+ - cron : ' 0 0 * * *'
5
+
6
+ jobs :
7
+ build :
8
+ if : github.repository == 'CiroMirkin/Apuntes' && github.ref == 'refs/heads/main'
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ node-version : [18.x, 20.x, 22.x]
14
+
15
+ permissions :
16
+ contents : write
17
+
18
+ steps :
19
+ - name : Checkout repo
20
+ uses : actions/checkout@v4
21
+
22
+ - name : Setup Node.js ${{ matrix.node-version }}
23
+ uses : actions/setup-node@v4
24
+ with :
25
+ node-version : ${{ matrix.node-version }}
26
+
27
+ - name : Run script
28
+ run : node generarListaDeApuntes
29
+
30
+ - name : Commit and Push changes
31
+ uses : stefanzweifel/git-auto-commit-action@v5
32
+ with :
33
+ commit_message : Actualiza lista de apuntes
34
+ commit_user_name : Ciro Mirkin [GitHub Actions]
35
+ commit_user_email : ciromirkin@gmail.com
36
+ commit_author : CiroMirkin <ciromirkin@gmail.com>
You can’t perform that action at this time.
0 commit comments