From 7fccc893677218f4edcc8a7b9e1f35929f66fd14 Mon Sep 17 00:00:00 2001 From: Benjamin Levesque <14175665+benjlevesque@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:01:39 +0200 Subject: [PATCH] Automated release --- .github/workflows/release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..e07dc40 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: "build-test" +on: + release: + types: + - published + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + yarn + yarn build + - name: Push changes + run: | + git config user.name 'github-actions[bot]' + git config user.email 'github-actions[bot]@users.noreply.github.com' + git add dist/ + git commit -m "Release {{ github.release.tag_name }}" + git push + \ No newline at end of file