Merge pull request 'fix(ci): replace actions/checkout with git clone in docs workflow' (#108) from fix/docs-workflow-no-node into main
Some checks failed
Build and Test / build (push) Failing after 2m50s
Some checks failed
Build and Test / build (push) Failing after 2m50s
Reviewed-on: #108
This commit was merged in pull request #108.
This commit is contained in:
@@ -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