Try generate more legit 'Release'

pull/261/head
Lim Chee Aun 2023-10-15 08:45:11 +08:00
rodzic df9eeeb0b3
commit f9299ac15c
2 zmienionych plików z 27 dodań i 1 usunięć

Wyświetl plik

@ -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

3
.gitignore vendored
Wyświetl plik

@ -25,4 +25,5 @@ dist-ssr
# Custom
.env.dev
src/data/instances-full.json
src/data/instances-full.json
phanpy-dist.zip