Skip to content

Commit

Permalink
ci: add documentation as sub module
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKreil committed Apr 14, 2024
1 parent 588bb7f commit fd3f803
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ on:

jobs:
build:
name: Lint and test
name: Lint and Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Setup Node
uses: actions/setup-node@v4
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "docs/pages/docs"]
path = docs/pages/docs
url = https://github.com/versatiles-org/versatiles-documentation.git
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Repository for building the website for [versatiles.org](https://versatiles.org)
Clone the repository and install the dependencies:

```bash
git clone "https://github.com/versatiles-org/versatiles-org.github.io.git
git clone --recurse-submodules "https://github.com/versatiles-org/versatiles-org.github.io.git"
cd versatiles-org.github.io
npm install
```
Expand Down
1 change: 1 addition & 0 deletions docs/pages/docs
Submodule docs added at 1e3a1f

0 comments on commit fd3f803

Please sign in to comment.