test-forgejo-runner/.forgejo/workflows/demo.yaml

31 lines
475 B
YAML
Raw Normal View History

2024-06-25 15:46:17 +02:00
name: UiNamed workflow
2024-01-17 13:54:25 +01:00
on:
push:
branches: ["main"]
2024-01-16 13:31:33 +01:00
jobs:
test:
runs-on: docker
2024-06-25 16:23:33 +02:00
container:
image: alpine
2024-01-17 13:54:25 +01:00
2024-01-16 13:31:33 +01:00
steps:
2024-06-25 16:20:52 +02:00
- name: See empty repo
run: ls -lah
2024-06-25 16:17:57 +02:00
- name: See Path
run: echo $PATH
- name: See git version
run: git -v
2024-01-22 13:46:24 +01:00
- name: Setup repo
uses: actions/checkout@v4
2024-01-22 12:23:34 +01:00
2024-01-22 12:39:58 +01:00
- name: Check repo
2024-01-22 15:05:10 +01:00
run: ls -lah
- name: Test secrets
2024-06-25 15:46:17 +02:00
run: echo ${{ secrets.SSH_Key_sample }}