Skip to content

Commit

Permalink
Alternative push
Browse files Browse the repository at this point in the history
  • Loading branch information
volumio committed May 5, 2024
1 parent 9a30e1f commit e709542
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions travis-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ npm run build:volumio3 && mv dist dist-volumio3
echo "Configuring Git User"
git config --global user.name "Volumio"
git config --global user.email "[email protected]"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/volumio/Volumio2-UI.git

# Push classic UI on 'dist' branch
echo "Preparing dist branch"
Expand All @@ -28,8 +29,7 @@ echo "Initializing Git Repo"
git init && git add . && git commit -m "Deploy to dist branch"

echo "Pushing to dist branch"
echo ${GH_REF}
git push --force --quiet "https://${GITHUB_TOKEN}@${GH_REF}" master:dist
git push --force --quiet master:dist

cd ..

Expand All @@ -45,6 +45,6 @@ echo "Initializing Git Repo"
git init && git add . && git commit -m "Deploy to dist3 branch"

echo "Pushing to dist3 branch"
git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:dist3
git push --force --quiet master:dist3

cd ..

0 comments on commit e709542

Please sign in to comment.