link to the LXC runs-on documentation

This commit is contained in:
Earl Warren 2023-11-09 16:24:39 +01:00
parent 13e4980952
commit d660cf008d
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -30,7 +30,8 @@ The [forgejo-curl.sh](https://code.forgejo.org/forgejo/forgejo-curl#forgejo-curl
script is logged in the instance and ready to be used with web or api endpoints. script is logged in the instance and ready to be used with web or api endpoints.
<!-- action-docs-description --> <!-- action-docs-description -->
It can only be run on the `self-hosted` platform, running on a host with LXC installed. It can only be used in a job with a `runs-on` label that designates a Forgejo runner
that [provides a LXC container](https://forgejo.org/docs/next/user/actions/#jobsjob_idruns-on).
<!-- action-docs-inputs --> <!-- action-docs-inputs -->
## Inputs ## Inputs
@ -68,9 +69,9 @@ name: Setup Forgejo
on: [push] on: [push]
jobs: jobs:
setup-forgejo: setup-forgejo:
runs-on: self-hosted runs-on: lxc
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- id: forgejo - id: forgejo
uses: actions/setup-forgejo@v1 uses: actions/setup-forgejo@v1
with: with: