chore: added release workflow
Some checks failed
Release / build_and_release (lts/fermium) (push) Failing after 34s
Some checks failed
Release / build_and_release (lts/fermium) (push) Failing after 34s
This commit is contained in:
parent
c0547b2a1f
commit
62ce775c5d
35
.gitea/workflows/release.yaml
Normal file
35
.gitea/workflows/release.yaml
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: Release
|
||||||
|
run-name: Build and Release
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build_and_release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [lts/fermium]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Node
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: npm
|
||||||
|
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: create build
|
||||||
|
run: npm run build
|
||||||
|
|
||||||
|
- name: Release Build
|
||||||
|
run: |
|
||||||
|
npm -g install cloudron-surfer
|
||||||
|
surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server app.sigit.io dist/* /web/
|
Loading…
Reference in New Issue
Block a user