mirror of
https://github.com/kou029w/looks-like-github.git
synced 2025-01-18 16:08:01 +00:00
add build action
This commit is contained in:
parent
514f7faed5
commit
73d9e6239c
1 changed files with 21 additions and 0 deletions
21
.github/workflows/build.yml
vendored
Normal file
21
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: build
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
branches: [main]
|
||||||
|
workflows: [test]
|
||||||
|
types: [completed]
|
||||||
|
jobs:
|
||||||
|
main:
|
||||||
|
if: github.event.workflow_run.conclusion == 'success'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: make build
|
||||||
|
- name: Commit
|
||||||
|
run: |
|
||||||
|
git config user.name bot
|
||||||
|
git config user.email bot@example
|
||||||
|
git add .
|
||||||
|
if git commit -m build; then
|
||||||
|
git push
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue