Skip to content

Commit

Permalink
♻️ Extract documentation web from the monorepo architecture
Browse files Browse the repository at this point in the history
Relates: #72
  • Loading branch information
Lukáš Horák committed Sep 7, 2022
1 parent f589fe9 commit 4d96192
Show file tree
Hide file tree
Showing 5 changed files with 3,661 additions and 2,811 deletions.
33 changes: 18 additions & 15 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,29 @@ jobs:
steps:
- name: Checkout your repository using git
uses: actions/checkout@v2
- name: Install, build, and upload your site
uses: withastro/action@v0
working-directory: ./docs/web
# We can't use https://github.com/withastro/action as it doesn't play well
# with nested monorepo architecture
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: 16
# cache: yarn

- name: Install
shell: "bash"
run: yarn install
# - name: Install
# shell: "bash"
# run: yarn install

- name: Build
shell: "bash"
run: yarn workspace lokse-doc-site build
# - name: Build
# shell: "bash"
# run: yarn workspace lokse-doc-site build

- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./docs/web/dist/"
# - name: Upload Pages Artifact
# uses: actions/upload-pages-artifact@v1
# with:
# path: "./docs/web/dist/"

deploy:
needs: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/extension.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: Deploy extension

on:
push:
Expand Down
Loading

0 comments on commit 4d96192

Please sign in to comment.