From d5eb4417d61de5affe3225888faae28fedd2bf30 Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Fri, 1 Mar 2024 15:25:32 +0500 Subject: [PATCH] chore: fix workflow --- .gitea/workflows/release.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 7ecba2c..f06a262 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -1,5 +1,4 @@ name: Release -run-name: Build and Release on: push: branches: @@ -21,15 +20,15 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - cache: npm - name: Install Dependencies run: npm ci - - name: create build + - name: Create Build run: npm run build + - name: Install Cloudron Surfer + run: npm install cloudron-surfer + - name: Release Build - run: | - npm -g install cloudron-surfer - surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server app.sigit.io dist/* /web/ + run: npx surfer put --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server app.sigit.io dist/*