From 73d9e6239c769ae6689a40e1047c375b65fd8693 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Sat, 21 Aug 2021 05:07:14 +0900 Subject: [PATCH] add build action --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..53a6c10 --- /dev/null +++ b/.github/workflows/build.yml @@ -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