Skip to content

Commit ac125a9

Browse files
committed
update of github action
1 parent aa4aa59 commit ac125a9

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.github/workflows/make.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
1-
name: Build
2-
3-
on:
4-
push:
5-
branches:
6-
- "**"
7-
pull_request:
8-
1+
name: Build & commit
2+
on: push
3+
permissions:
4+
contents: write
95
jobs:
10-
make:
6+
report:
117
runs-on: ubuntu-latest
12-
138
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v4
16-
17-
- name: Install dependencies
9+
- uses: actions/checkout@v3
10+
- name: Make docs
11+
run: make all
12+
- name: Commit files
1813
run: |
19-
sudo apt update
20-
sudo apt install -y pandoc make
21-
22-
- name: Run make
23-
run: make
14+
git config --global user.name 'dde-fite's github action'
15+
git config --global user.email 'dde-fite@users.noreply.github.com'
16+
git commit -am "Make pandoc"
17+
git push

0 commit comments

Comments
 (0)