Skip to content

Commit

Permalink
Revised action
Browse files Browse the repository at this point in the history
  • Loading branch information
volumio committed May 5, 2024
1 parent 7e5668d commit 7719f41
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,17 @@ jobs:
npm install
bower install
- name: Run Script
run: bash ./travis-script.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REF: github.com/volumio/Volumio2-UI.git
- name: Build 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 push --force "https://${{ secrets.GITHUB_TOKEN }}@github.com/volumio/Volumio2-UI.git" master:dist

0 comments on commit 7719f41

Please sign in to comment.