mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-23 02:19:05 -05:00
ac06f28fdd
# Conflicts: # user/actions.md
1.3 KiB
1.3 KiB
layout | title | license |
---|---|---|
~/layouts/Markdown.astro | Forgejo Actions | CC-BY-SA-4.0 |
Forgejo Actions
provides continuous integration driven from the files in the .forgejo/workflows
directory of a repository.
Quick start
- Verify that
Enable Repository Actions
is checked in theRepository
tab of the/{owner}/{repository}/settings
page.
- Add the following to the
.forgejo/workflows/demo.yaml
file in the repository.
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo All Good
- Go to the
Actions
tab of the/{owner}/{repository}/actions
page of the repository to see the result of the run.
- Click on the workflow link to see the details and the job execution logs.
Glossary
- workflow: a file in the
.forgejo/workflows
directory that contains jobs. - job: a sequential set of steps.
- step: a command the runner is required to carry out.
- runner: the Forgejo runner daemon tasked to execute the workflows.