Skip to content

Commit c8cfc64

Browse files
implement docs deploy with simple copy strategy
1 parent ddfa040 commit c8cfc64

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: docsdeploy
22
on:
33
push:
4-
branches: [main, docs-deploy]
4+
branches: [main]
55
pull_request:
66
branches: [main]
77
jobs:
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
source-directory: "docs"
1818
destination-github-username: "gridaco"
19-
destination-repository-name: "ci-playground"
19+
destination-repository-name: "grida.co"
2020
user-email: github@grida.co
21-
target-branch: main
22-
target-directory: "docs"
21+
target-branch: docs
22+
target-directory: "docs/@designto-code"

docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
# Documentations landingpage (for github)
22

33
For entry, goto [index.md](./index.md)
4+
5+
## Workflows (**Important!**)
6+
7+
this directory will be copied to gridaco/grida.co by github actions. If you are interacting with this directory under gridaco/grida.co, your changes will be lost.

scripts/docs-deploy/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Docs deploy.
22

33
## Design to code docs will be located on the web under https://grida.co/docs/design-to-code/
4+
5+
# See workflows/docs-deploy.yml

0 commit comments

Comments
 (0)