Browse Source

update py run command

pull/256/head
Marius 4 years ago
parent
commit
7db693708d
  1. 6
      .github/workflows/minify-and-deploy.yml

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

@ -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' }}

Loading…
Cancel
Save