Actions_tests/.forgejo/workflows/demo.yaml

24 lines
602 B
YAML
Raw Normal View History

2024-04-16 07:19:19 +00:00
on: [push]
jobs:
test:
2024-04-16 07:27:38 +00:00
runs-on: bookworm
2024-04-16 07:29:27 +00:00
container: minidocks/mkdocs
2024-04-16 07:19:19 +00:00
steps:
2024-04-16 08:43:40 +00:00
- name: Add NodeJs & Git
2024-04-16 08:15:44 +00:00
run: |
2024-04-16 08:19:56 +00:00
uname -a
2024-04-16 08:43:40 +00:00
apk add nodejs npm git
2024-04-16 08:41:42 +00:00
- name: Checkout repository with git
2024-04-16 08:43:14 +00:00
run: |
git clone --depth 1 https://git.numenaute.org/YannK/Actions_tests.git
2024-04-16 08:40:22 +00:00
# uses: actions/checkout@v4
# with:
# github-server-url: https://git.numenaute.org/
2024-04-16 07:59:40 +00:00
- name: Show content
run: |
pwd
ls -al
- name: Compile mkdocs
2024-04-16 08:44:27 +00:00
run: |
cd Actions_tests
mkdocs build