-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (51 loc) · 1.38 KB
/
Copy pathupdate_notebook.yml
File metadata and controls
51 lines (51 loc) · 1.38 KB
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
43
44
45
46
47
48
49
50
51
# name: Generate Notebook (PDF) + README.md
#
# on:
# push:
# branches:
# - main
# paths:
# - 'algorithms/**'
# - 'theoretical/**'
# pull_request:
# branches:
# - main
# paths:
# - 'algorithms/**'
# - 'theoretical/**'
#
# jobs:
# notebook:
# runs-on: ubuntu-latest
#
# steps:
# - name: Checkout code
# uses: actions/checkout@v3
#
# - name: Create Notebook
# uses: addnab/docker-run-action@v3
# with:
# image: mateusvrs/cp-notebook:v1.0
# options: -w /usr/src/app -v ${{ github.workspace }}:/usr/src/app
# run: make team_name="PrisioneirasWA e WAstros"
#
# - name: Format Files (Clang) - Auto Commit
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# file_pattern: '*.cpp'
#
# commit_message: "clang(format): cpp files correct indentation"
#
# - name: Notebook Update - Auto Commit
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# file_pattern: 'notebook.pdf'
#
# commit_message: "notebook(pdf): update to latest version"
#
# - name: README Update - Auto Commit
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# file_pattern: 'README.md'
#
# commit_message: "docs(readme): update to match with notebook"