Skip to content

Commit 16d8187

Browse files
author
Maciej Olko
committed
Add commit-build job to CI
1 parent 2f82968 commit 16d8187

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/update-and-build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,23 @@ jobs:
5353
with:
5454
name: build
5555
path: Doc/build/html
56+
commit-build:
57+
runs-on: ubuntu-latest
58+
needs: ['build-translation']
59+
steps:
60+
- uses: actions/checkout@master
61+
- run: git pull
62+
- uses: actions/download-artifact@master
63+
with:
64+
name: build
65+
- run: rm -r docs
66+
- run: mv build docs
67+
- run: git config --local user.email 'maciej.olko@gmail.com'
68+
name: Run git config --local user.email '…'
69+
- run: git config --local user.name "GitHub Action's commit-build job"
70+
- run: git add .
71+
- run: git commit -m 'Update translation build' || true
72+
- uses: ad-m/github-push-action@master
73+
with:
74+
github_token: ${{ secrets.GITHUB_TOKEN }}
75+
branch: 3.8

0 commit comments

Comments
 (0)