This commit is contained in:
@@ -10,21 +10,20 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'npm' # Enables npm cache for faster installs
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
npm ci --legacy-peer-deps
|
||||
npm install cloudron-surfer # Install locally instead of globally
|
||||
run: npm ci --legacy-peer-deps
|
||||
|
||||
- name: Install surfer
|
||||
run: npm install -g cloudron-surfer
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
npm run build
|
||||
run: npm run build
|
||||
|
||||
- name: Publish
|
||||
run: |
|
||||
npx surfer put --token ${{ secrets.SURFER_TOKEN }} --server datacontroller.io public/* /
|
||||
run: surfer put --token ${{ secrets.SURFER_TOKEN }} --server datacontroller.io public/ /
|
||||
Reference in New Issue
Block a user