mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
Update gen-gh-pages-data.yml
This commit is contained in:
7
.github/workflows/gen-gh-pages-data.yml
vendored
7
.github/workflows/gen-gh-pages-data.yml
vendored
@@ -9,7 +9,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Set Up Python
|
- name: Set Up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
@@ -18,9 +18,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install .
|
pip install .
|
||||||
|
- name: Checkout gh-pages
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: 'gh-pages'
|
||||||
- name: Generate data.js
|
- name: Generate data.js
|
||||||
run: |
|
run: |
|
||||||
git checkout gh-pages
|
|
||||||
python genData.py
|
python genData.py
|
||||||
git commit -am "update data.js"
|
git commit -am "update data.js"
|
||||||
git push
|
git push
|
||||||
|
|||||||
Reference in New Issue
Block a user