fix(ci): replace actions/checkout with git clone in docs workflow #108
@@ -4,14 +4,20 @@ on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: docs
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
run: |
|
||||
if [ -d .git ]; then
|
||||
git fetch origin main
|
||||
git checkout -f origin/main
|
||||
else
|
||||
git clone --depth 1 --branch main https://git.kindred-systems.com/kindred/create.git .
|
||||
fi
|
||||
|
||||
- name: Build mdBook
|
||||
run: mdbook build docs/
|
||||
|
||||
Reference in New Issue
Block a user