diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 1177b8e..c17716b 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -14,11 +14,12 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 + cache: 'npm' # Enables npm cache for faster installs - name: Install dependencies run: | npm ci --legacy-peer-deps - npm -g install cloudron-surfer + npm install cloudron-surfer # Install locally instead of globally - name: Build run: | @@ -26,4 +27,4 @@ jobs: - name: Publish run: | - surfer put --token ${{ secrets.SURFER_TOKEN }} --server datacontroller.io public/* / + npx surfer put --token ${{ secrets.SURFER_TOKEN }} --server datacontroller.io public/* / \ No newline at end of file