mirror of
https://github.com/danbulant/dribbblish-dynamic-theme
synced 2026-05-27 14:02:13 +00:00
change action to not amend
This commit is contained in:
parent
c9ad5f74fc
commit
9b69b57c9d
4 changed files with 11221 additions and 11146 deletions
5
.github/workflows/webpack.yaml
vendored
5
.github/workflows/webpack.yaml
vendored
|
|
@ -16,8 +16,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
# This is important to fetch the changes to the previous commit
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -25,7 +23,6 @@ jobs:
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: |
|
- run: |
|
||||||
echo "Amending the current commit..."
|
|
||||||
cd "$GITHUB_ACTION_PATH"
|
cd "$GITHUB_ACTION_PATH"
|
||||||
|
|
||||||
git config --global user.email "actions@github.com"
|
git config --global user.email "actions@github.com"
|
||||||
|
|
@ -33,5 +30,5 @@ jobs:
|
||||||
|
|
||||||
git pull
|
git pull
|
||||||
git add -f dist
|
git add -f dist
|
||||||
git commit --amend --no-edit
|
git commit -m "Compile Webpack"
|
||||||
git push origin -f
|
git push origin -f
|
||||||
19653
dist/dribbblish-dynamic.js
vendored
19653
dist/dribbblish-dynamic.js
vendored
File diff suppressed because one or more lines are too long
2706
dist/user.css
vendored
2706
dist/user.css
vendored
File diff suppressed because it is too large
Load diff
|
|
@ -1075,10 +1075,7 @@ Spicetify.Player.addEventListener("songchange", songchange);
|
||||||
|
|
||||||
async function pickCoverColor(img) {
|
async function pickCoverColor(img) {
|
||||||
if (!img.currentSrc.startsWith("spotify:")) return;
|
if (!img.currentSrc.startsWith("spotify:")) return;
|
||||||
console.log(img);
|
|
||||||
console.log(new Vibrant(img, 5));
|
|
||||||
var swatches = await new Promise((resolve, reject) => new Vibrant(img, 5).getPalette().then(resolve).catch(reject));
|
var swatches = await new Promise((resolve, reject) => new Vibrant(img, 5).getPalette().then(resolve).catch(reject));
|
||||||
console.log(swatches);
|
|
||||||
var lightCols = ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"];
|
var lightCols = ["Vibrant", "DarkVibrant", "Muted", "LightVibrant"];
|
||||||
var darkCols = ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"];
|
var darkCols = ["Vibrant", "LightVibrant", "Muted", "DarkVibrant"];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue