Browse Source

add themes.json to master branch

pull/256/head
Marius 3 years ago
parent
commit
c5af125c79
  1. 14
      .github/workflows/minify-and-deploy.yml

14
.github/workflows/minify-and-deploy.yml

@ -21,6 +21,16 @@ jobs:
echo "Game over man!"
exit 1
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
run: |
sudo npm install -g minify
@ -44,10 +54,6 @@ jobs:
minify_file $fname
fi
done
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
- name: create themes.json
run: python themes.py
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}

Loading…
Cancel
Save