chore: fix workflow
Some checks failed
Release / build_and_release (lts/fermium) (push) Failing after 8s

This commit is contained in:
Sabir Hassan 2024-03-01 15:25:32 +05:00
parent 62ce775c5d
commit d5eb4417d6

View File

@ -1,5 +1,4 @@
name: Release name: Release
run-name: Build and Release
on: on:
push: push:
branches: branches:
@ -21,15 +20,15 @@ jobs:
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: npm
- name: Install Dependencies - name: Install Dependencies
run: npm ci run: npm ci
- name: create build - name: Create Build
run: npm run build run: npm run build
- name: Install Cloudron Surfer
run: npm install cloudron-surfer
- name: Release Build - name: Release Build
run: | run: npx surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server app.sigit.io dist/*
npm -g install cloudron-surfer
surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server app.sigit.io dist/* /web/