From d68f0b3fa53c15fd7701d1a86d2e65d24944d2ea Mon Sep 17 00:00:00 2001 From: Matus Koprda Date: Fri, 29 Mar 2024 14:26:55 +0100 Subject: [PATCH] Update github actions --- .github/workflows/deploy.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9952909..9151388 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,14 @@ name: Create Archive -on: [push] +on: + push: + tags: + - '*' + jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - uses: actions/checkout@master - name: Archive Release @@ -10,4 +16,9 @@ jobs: with: type: 'zip' filename: 'readabletro.zip' - exclusions: '*.git* /*.jpg /readme.md' \ No newline at end of file + exclusions: '*.git* /*.jpg /readme.md' + + - name: Upload Release + uses: ncipollo/release-action@v1.12.0 + with: + artifacts: "readabletro.zip"