From f973a542918858f7ddbf4d4578c5b6208097c346 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 21 May 2023 17:53:52 +0200 Subject: [PATCH] include a sample of a workflow --- developer/forgejo-runner.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/developer/forgejo-runner.md b/developer/forgejo-runner.md index 5ede17f7..2c9c5ce8 100644 --- a/developer/forgejo-runner.md +++ b/developer/forgejo-runner.md @@ -101,3 +101,18 @@ And launched in debug mode with: ```shell cd setup-forgejo ; ACTIONS_STEP_DEBUG=true ../runner/forgejo-runner daemon ``` + +## Try a sample workflow + +From the Forgejo web interface, create a repository and add the following to `.forgejo/workflows/try.yaml`. It will launch the job and the result can be observed from the `actions` tab. + +```yaml +on: [push] +jobs: + ls: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: | + ls ${{ github.workspace }} +```