31 lines
751 B
YAML
31 lines
751 B
YAML
name: Build README.html
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: pandoc/core:3.1
|
|
|
|
steps:
|
|
- name: Checkout
|
|
# Forgejo documents that actions/checkout can be referenced via DEFAULT_ACTIONS_URL,
|
|
# or explicitly via a Forgejo-hosted URL.
|
|
uses: actions/checkout@v4
|
|
# Alternatively:
|
|
# uses: https://data.forgejo.org/actions/checkout@v4
|
|
|
|
- name: Build README.html
|
|
run: ./scripts/build_readme.sh
|
|
|
|
- name: Upload artifact
|
|
# Forgejo docs recommend v3 (or patched v4).
|
|
uses: https://code.forgejo.org/actions/upload-artifact@v3
|
|
with:
|
|
name: README-html
|
|
path: README.html
|