mirror of
https://github.com/szdytom/LADRSolutions.git
synced 2025-10-19 16:30: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: |
|
||||
pip install -r requirements.txt
|
||||
python3 make.py
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
- name: Move PDF to public directory
|
||||
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:
|
||||
name: Output
|
||||
path: 'main.pdf'
|
||||
|
||||
path: public
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user