Compare commits
3 Commits
fix/docs-w
...
fix/docs-c
| Author | SHA1 | Date | |
|---|---|---|---|
| c25f1b62b8 | |||
| 10ae616f08 | |||
| d6ad0fb43d |
@@ -5,6 +5,7 @@ on:
|
||||
branches: [main]
|
||||
paths:
|
||||
- "docs/**"
|
||||
- ".gitea/workflows/docs.yml"
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
@@ -12,11 +13,12 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
REPO_URL="http://localhost:3000/kindred/create.git"
|
||||
if [ -d .git ]; then
|
||||
git fetch origin main
|
||||
git checkout -f origin/main
|
||||
git fetch "$REPO_URL" main
|
||||
git checkout -f FETCH_HEAD
|
||||
else
|
||||
git clone --depth 1 --branch main https://git.kindred-systems.com/kindred/create.git .
|
||||
git clone --depth 1 --branch main "$REPO_URL" .
|
||||
fi
|
||||
|
||||
- name: Build mdBook
|
||||
|
||||
Reference in New Issue
Block a user