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
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set Up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
@@ -18,9 +18,12 @@ jobs:
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install .
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: 'gh-pages'
|
||||
- name: Generate data.js
|
||||
run: |
|
||||
git checkout gh-pages
|
||||
python genData.py
|
||||
git commit -am "update data.js"
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user