mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-01-22 16:46:28 +01:00
Try generate more legit 'Release'
This commit is contained in:
parent
df9eeeb0b3
commit
f9299ac15c
2 changed files with 27 additions and 1 deletions
25
.github/workflows/tagrelease.yml
vendored
Normal file
25
.github/workflows/tagrelease.yml
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
name: Create Release on every tag push in `production`
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- production
|
||||||
|
tags:
|
||||||
|
- '*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: production
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
- run: npm ci && npm run build
|
||||||
|
- run: cd dist && zip -r ../phanpy-dist.zip . && cd ..
|
||||||
|
- uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
generate_release_notes: true
|
||||||
|
files: phanpy-dist.zip
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -26,3 +26,4 @@ dist-ssr
|
||||||
# Custom
|
# Custom
|
||||||
.env.dev
|
.env.dev
|
||||||
src/data/instances-full.json
|
src/data/instances-full.json
|
||||||
|
phanpy-dist.zip
|
Loading…
Reference in a new issue