|
@ -46,10 +46,8 @@ jobs: |
|
|
done |
|
|
done |
|
|
- name: Set up Python ${{ matrix.python-version }} |
|
|
- name: Set up Python ${{ matrix.python-version }} |
|
|
uses: actions/setup-python@v2 |
|
|
uses: actions/setup-python@v2 |
|
|
- name: Get short SHA and create JSON |
|
|
- name: create themes.json |
|
|
run: | |
|
|
run: python themes.py |
|
|
GIT_HASH=$(git rev-parse --short "$GITHUB_SHA") |
|
|
|
|
|
python themes.py --sha=${GIT_HASH} |
|
|
|
|
|
- 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' }} |
|
|