1
0
mirror of https://github.com/benjlevesque/short-sha.git synced 2026-07-04 15:49:22 +02:00

Automated release

This commit is contained in:
Benjamin Levesque
2022-10-28 15:01:39 +02:00
parent 5657e67fe0
commit 7fccc89367
+22
View File
@@ -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