From 9e91b960f34262b75c208677772e5320991ba81f Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Mon, 29 May 2023 14:56:08 +0200 Subject: [PATCH] cosmetic --- user/actions.md | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/user/actions.md b/user/actions.md index 606f3f67..24c21ee1 100644 --- a/user/actions.md +++ b/user/actions.md @@ -9,29 +9,21 @@ license: 'CC-BY-SA-4.0' # Quick start - 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. - -```yaml -on: [push] -jobs: - test: - runs-on: ubuntu-latest - steps: - - run: echo All Good -``` - -![demo.yaml file](../../../../images/v1.20/user/actions/demo-yaml.png) - + ```yaml + on: [push] + jobs: + test: + runs-on: ubuntu-latest + steps: + - run: echo All Good + ``` + ![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. - -![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. - -![actions results](../../../../images/v1.20/user/actions/workflow-demo.png) + ![actions results](../../../../images/v1.20/user/actions/workflow-demo.png) # Glossary