This commit is contained in:
@@ -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/* /
|
||||
Reference in New Issue
Block a user