Refactor HTML build step to create and upload a zip archive
This commit is contained in:
parent
77b77778db
commit
5dc2eab7ac
1 changed files with 5 additions and 7 deletions
|
@ -15,15 +15,13 @@ jobs:
|
||||||
- name: Build PDF exports
|
- name: Build PDF exports
|
||||||
run: uv run myst build --execute --pdf
|
run: uv run myst build --execute --pdf
|
||||||
- name: Build static HTML
|
- name: Build static HTML
|
||||||
run: uv run myst build --execute --html
|
run: |
|
||||||
- name: Copy files
|
uv run myst build --execute --html
|
||||||
uses: forgejo/upload-artifact@v4
|
mkdir -p /tmp/release
|
||||||
with:
|
zip -r /tmp/release/html.zip _build/html
|
||||||
name: srv
|
|
||||||
path: _build/html
|
|
||||||
- name: Make release
|
- name: Make release
|
||||||
uses: actions/forgejo-release@v2.6.0
|
uses: actions/forgejo-release@v2.6.0
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
release-dir: _build/html
|
release-dir: /tmp/release
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue