]> git.immae.eu Git - github/bastienwirtz/homer.git/blob - .github/workflows/release.yml
feat: add custom service Healthchecks
[github/bastienwirtz/homer.git] / .github / workflows / release.yml
1 # Publish pre-build release
2 name: Upload Release Asset
3
4 on:
5 push:
6 tags: [v*]
7
8 jobs:
9 build:
10 name: Upload Release Asset
11 runs-on: ubuntu-latest
12 steps:
13 - uses: actions/checkout@v3
14 - name: Build project
15 run: |
16 yarn install
17 yarn build
18 - name: Create artifact
19 working-directory: "dist"
20 run: zip -r ../homer.zip ./*
21 - name: Create Release
22 id: create_release
23 uses: softprops/action-gh-release@v1
24 with:
25 token: ${{ secrets.GITHUB_TOKEN }}
26 generate_release_notes: true
27 files: |
28 homer.zip