Skip to content

Fix socket.io version #25

Fix socket.io version

Fix socket.io version #25

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '10.22.1'
- name: Install Dependencies
run: |
npm install -g bower gulp karma
npm install phantomjs
npm install
bower install
- name: Build and Deploy Volumio Classic UI
run: |
npm run build:volumio
mv dist dist-volumio
cd "dist-volumio"
echo '{"localhost": "http://127.0.0.1:3000"}' > app/local-config.json
git init
git config user.name "Volumio"
git config user.email "[email protected]"
git add .
git commit -m "Deploy to dist branch"
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/volumio/Volumio2-UI.git
git push --force origin master:dist
cd ..
- name: Build and Deploy Volumio Manifest UI
run: |
npm run build:volumio3
mv dist dist-volumio3
cd "dist-volumio3"
echo '{"localhost": "http://127.0.0.1:3000"}' > app/local-config.json
git init
git config user.name "Volumio"
git config user.email "[email protected]"
git add .
git commit -m "Deploy to dist3 branch"
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/volumio/Volumio2-UI.git
git push --force origin master:dist3