mirror of
https://github.com/gilbN/theme.park.git
synced 2024-08-18 16:09:36 +02:00
add themes.json to master branch
This commit is contained in:
parent
7d87f3a64a
commit
c5af125c79
14
.github/workflows/minify-and-deploy.yml
vendored
14
.github/workflows/minify-and-deploy.yml
vendored
@ -21,6 +21,16 @@ jobs:
|
|||||||
echo "Game over man!"
|
echo "Game over man!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
- name: create themes.json
|
||||||
|
run: |
|
||||||
|
python themes.py
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git add .
|
||||||
|
git commit -m "themes.json"
|
||||||
|
git push
|
||||||
- name: Minify CSS
|
- name: Minify CSS
|
||||||
run: |
|
run: |
|
||||||
sudo npm install -g minify
|
sudo npm install -g minify
|
||||||
@ -44,10 +54,6 @@ jobs:
|
|||||||
minify_file $fname
|
minify_file $fname
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
|
||||||
uses: actions/setup-python@v2
|
|
||||||
- name: create themes.json
|
|
||||||
run: python themes.py
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user