Compare commits
2 commits
986a493d70
...
b2523aba24
Author | SHA1 | Date | |
---|---|---|---|
b2523aba24 | |||
77b77778db |
1 changed files with 7 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- "main"
|
||||
tags:
|
||||
- 'v*'
|
||||
jobs:
|
||||
serve:
|
||||
runs-on: uv
|
||||
|
@ -15,15 +15,13 @@ jobs:
|
|||
- name: Build PDF exports
|
||||
run: uv run myst build --execute --pdf
|
||||
- name: Build static HTML
|
||||
run: uv run myst build --execute --html
|
||||
- name: Copy files
|
||||
uses: forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: srv
|
||||
path: _build/html
|
||||
run: |
|
||||
uv run myst build --execute --html
|
||||
mkdir -p /tmp/release
|
||||
zip -r /tmp/release/html.zip _build/html
|
||||
- name: Make release
|
||||
uses: actions/forgejo-release@v2.6.0
|
||||
with:
|
||||
direction: upload
|
||||
release-dir: _build/html
|
||||
release-dir: /tmp/release
|
||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
Loading…
Add table
Add a link
Reference in a new issue