Skip to content

Commit

Permalink
Dist3
Browse files Browse the repository at this point in the history
  • Loading branch information
volumio committed May 5, 2024
1 parent 72f3650 commit 37ea40b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
npm install
bower install
- name: Build Volumio Classic UI
- name: Build and Deploy Volumio Classic UI
run: |
npm run build:volumio
mv dist dist-volumio
Expand All @@ -37,7 +37,20 @@ jobs:
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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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


0 comments on commit 37ea40b

Please sign in to comment.