0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-03-13 09:58:07 -04:00
This commit is contained in:
Earl Warren 2023-05-29 14:56:08 +02:00 committed by Caesar Schinas
parent ac06f28fdd
commit 9e91b960f3
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -9,29 +9,21 @@ license: 'CC-BY-SA-4.0'
# Quick start # Quick start
- Verify that `Enable Repository Actions` is checked in the `Repository` tab of the `/{owner}/{repository}/settings` page. - Verify that `Enable Repository Actions` is checked in the `Repository` tab of the `/{owner}/{repository}/settings` page.
![enable actions](../../../../images/v1.20/user/actions/enable-repository.png)
![enable actions](../../../../images/v1.20/user/actions/enable-repository.png)
- Add the following to the `.forgejo/workflows/demo.yaml` file in the repository. - Add the following to the `.forgejo/workflows/demo.yaml` file in the repository.
```yaml
```yaml on: [push]
on: [push] jobs:
jobs: test:
test: runs-on: ubuntu-latest
runs-on: ubuntu-latest steps:
steps: - run: echo All Good
- run: echo All Good ```
``` ![demo.yaml file](../../../../images/v1.20/user/actions/demo-yaml.png)
![demo.yaml file](../../../../images/v1.20/user/actions/demo-yaml.png)
- Go to the `Actions` tab of the `/{owner}/{repository}/actions` page of the repository to see the result of the run. - Go to the `Actions` tab of the `/{owner}/{repository}/actions` page of the repository to see the result of the run.
![actions results](../../../../images/v1.20/user/actions/actions-demo.png)
![actions results](../../../../images/v1.20/user/actions/actions-demo.png)
- Click on the workflow link to see the details and the job execution logs. - Click on the workflow link to see the details and the job execution logs.
![actions results](../../../../images/v1.20/user/actions/workflow-demo.png)
![actions results](../../../../images/v1.20/user/actions/workflow-demo.png)
# Glossary # Glossary