mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-20 00:40:16 +00:00
PDF to Github Pages
Signed-off-by: szdytom <szdytom@qq.com>
This commit is contained in:
parent
508a006dc3
commit
6db0113051
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@ -15,9 +15,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python3 make.py
|
python3 make.py
|
||||||
- name: Upload artifact
|
- name: Move PDF to public directory
|
||||||
uses: actions/upload-artifact@v4
|
run: |
|
||||||
|
mkdir -p public
|
||||||
|
mv main.pdf public/
|
||||||
|
- name: Configure Pages
|
||||||
|
uses: actions/configure-pages@v4
|
||||||
|
- name: Upload Pages artifact
|
||||||
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Output
|
path: public
|
||||||
path: 'main.pdf'
|
- name: Deploy to GitHub Pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v4
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user