Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: docsdeploy
on:
push:
branches: [main]
jobs:
copy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: copy docs to gridaco/grida.co
uses: DevOpenWRT-Router/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: "docs"
destination-github-username: "gridaco"
destination-repository-name: "grida.co"
user-email: github@grida.co
target-branch: docs
target-directory: "docs/@designto-code"
4 changes: 4 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Documentations landingpage (for github)

For entry, goto [index.md](./index.md)

## Workflows (**Important!**)

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.
2 changes: 2 additions & 0 deletions scripts/docs-deploy/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Docs deploy.

## Design to code docs will be located on the web under https://grida.co/docs/design-to-code/

# See workflows/docs-deploy.yml