Compare commits
No commits in common. "b2523aba2465298575ece736901e6914e142988b" and "986a493d708f49b38232c6138a56612c82d3fc47" have entirely different histories.
b2523aba24
...
986a493d70
1 changed files with 9 additions and 7 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches:
|
||||||
- 'v*'
|
- "main"
|
||||||
jobs:
|
jobs:
|
||||||
serve:
|
serve:
|
||||||
runs-on: uv
|
runs-on: uv
|
||||||
|
|
@ -15,13 +15,15 @@ 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: |
|
run: uv run myst build --execute --html
|
||||||
uv run myst build --execute --html
|
- name: Copy files
|
||||||
mkdir -p /tmp/release
|
uses: forgejo/upload-artifact@v4
|
||||||
zip -r /tmp/release/html.zip _build/html
|
with:
|
||||||
|
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: /tmp/release
|
release-dir: _build/html
|
||||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue